chore: remove unused code from our js scripts (#25419)

This commit is contained in:
Charles Kerr 2020-09-14 12:22:13 -05:00 committed by GitHub
parent bc9816b206
commit 7f885bd266
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 8 deletions

View file

@ -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');