From 2ae6b8b9d9d2675fbde44ffbc1180df743bbd800 Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Thu, 2 Jun 2022 14:09:23 -0700 Subject: [PATCH] Remove npm install errors test --- tests/with-npm-errors-in-production/.licensee.json | 8 -------- tests/with-npm-errors-in-production/package.json | 7 ------- tests/with-npm-errors-in-production/test.js | 10 ---------- 3 files changed, 25 deletions(-) delete mode 100644 tests/with-npm-errors-in-production/.licensee.json delete mode 100644 tests/with-npm-errors-in-production/package.json delete mode 100644 tests/with-npm-errors-in-production/test.js diff --git a/tests/with-npm-errors-in-production/.licensee.json b/tests/with-npm-errors-in-production/.licensee.json deleted file mode 100644 index 4bfb417..0000000 --- a/tests/with-npm-errors-in-production/.licensee.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "licenses": { - "spdx": [ - "MIT" - ] - }, - "packages": {} -} diff --git a/tests/with-npm-errors-in-production/package.json b/tests/with-npm-errors-in-production/package.json deleted file mode 100644 index 2d20db0..0000000 --- a/tests/with-npm-errors-in-production/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "with-npm-errors-in-production", - "dependencies": { - "with-invalid-dependency": "^1.0.0" - }, - "private": true -} diff --git a/tests/with-npm-errors-in-production/test.js b/tests/with-npm-errors-in-production/test.js deleted file mode 100644 index 1b81f31..0000000 --- a/tests/with-npm-errors-in-production/test.js +++ /dev/null @@ -1,10 +0,0 @@ -var tap = require('tap') - -var results = require('../run')(['--production'], __dirname) - -tap.equal(results.status, 0) - -tap.equal( - results.stderr.indexOf('Warning: npm exited with status 1') !== -1, - true -)