From ce748bfc10ffa4ae74997e96e723d91317f02276 Mon Sep 17 00:00:00 2001 From: Kelvin Fichter Date: Mon, 25 Mar 2019 13:32:00 -0400 Subject: [PATCH] Update test scripts --- package.json | 2 +- packages/contracts/package.json | 2 +- packages/operator/package.json | 1 - packages/plasma-js/package.json | 1 - packages/utils/package.json | 2 +- packages/utils/test/{sum-tree.ts => sum-tree.spec.ts} | 0 packages/utils/test/utils/{eth.ts => eth.spec.ts} | 0 packages/utils/test/utils/{misc.ts => misc.spec.ts} | 0 packages/vyper-js/package.json | 1 - 9 files changed, 3 insertions(+), 6 deletions(-) rename packages/utils/test/{sum-tree.ts => sum-tree.spec.ts} (100%) rename packages/utils/test/utils/{eth.ts => eth.spec.ts} (100%) rename packages/utils/test/utils/{misc.ts => misc.spec.ts} (100%) diff --git a/package.json b/package.json index adfb845f..47b9a2b6 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "lint": "wsrun -p $(yarn --silent run pkgparse) --fast-exit --parallel --exclude-missing lint", "fix": "wsrun -p $(yarn --silent run pkgparse) --fast-exit --parallel --exclude-missing fix", "clean": "wsrun -p $(yarn --silent run pkgparse) -r --fast-exit --parallel --exclude-missing clean", - "test": "wsrun -p $(yarn --silent run pkgparse) -r --fast-exit --parallel --exclude-missing test", + "test": "wsrun -p $(yarn --silent run pkgparse) --fast-exit --parallel --exclude-missing test", "build": "lerna link && wsrun -p $(yarn --silent run pkgparse) -r --fast-exit --stages --exclude-missing build", "release": "yarn run build && lerna publish --force-publish --exact -m \"chore(@plasma-group) publish %s release\"", "release:rc": "yarn run build && lerna publish --npm-tag=rc -m \"chore(@plasma-group) publish %s release\"", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index e2549d16..cd26e27d 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -7,7 +7,7 @@ "build/**/.js" ], "scripts": { - "test": "mocha --require ts-node/register 'test/**/*.ts'", + "test": "mocha --require ts-node/register 'test/**/*.spec.ts'", "lint": "tslint --format stylish --project .", "fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'", "build": "yarn tsc -p ." diff --git a/packages/operator/package.json b/packages/operator/package.json index b6758bf5..fd70efa9 100644 --- a/packages/operator/package.json +++ b/packages/operator/package.json @@ -7,7 +7,6 @@ "build/**/.js" ], "scripts": { - "test": "mocha --require ts-node/register 'test/**/*.spec.ts'", "lint": "tslint --format stylish --project .", "fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'", "build": "yarn tsc -p ." diff --git a/packages/plasma-js/package.json b/packages/plasma-js/package.json index d4118541..a72d7573 100644 --- a/packages/plasma-js/package.json +++ b/packages/plasma-js/package.json @@ -7,7 +7,6 @@ "build/**/.js" ], "scripts": { - "test": "mocha --require ts-node/register 'test/**/*.ts'", "lint": "tslint --format stylish --project .", "fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'", "build": "yarn tsc -p ." diff --git a/packages/utils/package.json b/packages/utils/package.json index 5f6eeff0..a13e1df4 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -7,7 +7,7 @@ "build/**/.js" ], "scripts": { - "test": "mocha --require ts-node/register 'test/**/*.ts'", + "test": "mocha --require ts-node/register 'test/**/*.spec.ts'", "lint": "tslint --format stylish --project .", "fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'", "build": "yarn tsc -p ." diff --git a/packages/utils/test/sum-tree.ts b/packages/utils/test/sum-tree.spec.ts similarity index 100% rename from packages/utils/test/sum-tree.ts rename to packages/utils/test/sum-tree.spec.ts diff --git a/packages/utils/test/utils/eth.ts b/packages/utils/test/utils/eth.spec.ts similarity index 100% rename from packages/utils/test/utils/eth.ts rename to packages/utils/test/utils/eth.spec.ts diff --git a/packages/utils/test/utils/misc.ts b/packages/utils/test/utils/misc.spec.ts similarity index 100% rename from packages/utils/test/utils/misc.ts rename to packages/utils/test/utils/misc.spec.ts diff --git a/packages/vyper-js/package.json b/packages/vyper-js/package.json index d2ec2270..95a01bc7 100644 --- a/packages/vyper-js/package.json +++ b/packages/vyper-js/package.json @@ -7,7 +7,6 @@ "build/**/.js" ], "scripts": { - "test": "mocha --require ts-node/register 'test/**/*.ts'", "lint": "tslint --format stylish --project .", "fix": "prettier --config ./.prettierrc.js --write 'index.ts' 'src/**/*.ts'", "build": "yarn tsc -p ."