From 33ee6d8d350b6c5a1f6dd8b4b1c248c8382b93e1 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Sun, 28 Apr 2019 11:30:58 -0500 Subject: [PATCH] test: disable test script for packages without any tests Several `embarkjs-*` packages specify a `"test":` script in their respective `package.json` files but lack any tests, causing `yarn test` in the root of the monorepo to fail. For now, disable those scripts. --- packages/embarkjs-ipfs/package.json | 2 +- packages/embarkjs-swarm/package.json | 2 +- packages/embarkjs-whisper/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/embarkjs-ipfs/package.json b/packages/embarkjs-ipfs/package.json index 8cb240277..4230b9ca3 100644 --- a/packages/embarkjs-ipfs/package.json +++ b/packages/embarkjs-ipfs/package.json @@ -46,7 +46,7 @@ "qa": "npm-run-all build package", "reset": "npx rimraf build-test dist embarkjs-*.tgz package", "start": "npm run watch", - "test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", + "// test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "watch": "run-p \"build:** -- --verbose --watch\"" }, "dependencies": { diff --git a/packages/embarkjs-swarm/package.json b/packages/embarkjs-swarm/package.json index fb57cb353..d0be025cc 100644 --- a/packages/embarkjs-swarm/package.json +++ b/packages/embarkjs-swarm/package.json @@ -46,7 +46,7 @@ "qa": "npm-run-all build package", "reset": "npx rimraf build-test dist embarkjs-*.tgz package", "start": "npm run watch", - "test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", + "// test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "watch": "run-p \"build:** -- --verbose --watch\"" }, "dependencies": { diff --git a/packages/embarkjs-whisper/package.json b/packages/embarkjs-whisper/package.json index ac2a87f13..a0c64c03b 100644 --- a/packages/embarkjs-whisper/package.json +++ b/packages/embarkjs-whisper/package.json @@ -46,7 +46,7 @@ "qa": "npm-run-all build package", "reset": "npx rimraf build-test dist embarkjs-*.tgz package", "start": "npm run watch", - "test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", + "// test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "watch": "run-p \"build:** -- --verbose --watch\"" }, "dependencies": {