chore: remove unused code from our js scripts (#25419)
This commit is contained in:
parent
bc9816b206
commit
7f885bd266
6 changed files with 1 additions and 8 deletions
|
@ -10,12 +10,10 @@ const args = require('minimist')(process.argv.slice(2), {
|
|||
const BASE = path.resolve(__dirname, '../..');
|
||||
const DISABLED_TESTS = require('./node-disabled-tests.json');
|
||||
const NODE_DIR = path.resolve(BASE, 'third_party', 'electron_node');
|
||||
const NPX_CMD = process.platform === 'win32' ? 'npx.cmd' : 'npx';
|
||||
const JUNIT_DIR = args.jUnitDir ? path.resolve(args.jUnitDir) : null;
|
||||
const TAP_FILE_NAME = 'test.tap';
|
||||
|
||||
const utils = require('./lib/utils');
|
||||
const { YARN_VERSION } = require('./yarn');
|
||||
|
||||
if (!process.mainModule) {
|
||||
throw new Error('Must call the node spec runner directly');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue