Skip to content

Commit

Permalink
Add SES lockdown to testrunners
Browse files Browse the repository at this point in the history
Except @cosmjs/cli
  • Loading branch information
willclarktech committed Jan 7, 2021
1 parent 8777d56 commit e89ba88
Show file tree
Hide file tree
Showing 16 changed files with 80 additions and 16 deletions.
6 changes: 5 additions & 1 deletion packages/cosmwasm-launchpad/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/cosmwasm-stargate/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/crypto/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/encoding/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/faucet-client/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/faucet/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/json-rpc/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/launchpad-ledger/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/launchpad/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/math/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/proto-signing/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/socket/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/stargate/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/stream/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/tendermint-rpc/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down
6 changes: 5 additions & 1 deletion packages/utils/jasmine-testrunner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env node

/* eslint-disable @typescript-eslint/naming-convention */

require("ses/lockdown");
// eslint-disable-next-line no-undef
lockdown();

require("source-map-support").install();
const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.json");

Expand Down

0 comments on commit e89ba88

Please sign in to comment.