mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[ez] Remove test262-all script
Just realized we can run all tests without encountering the arg limit if a string is passed in. This is much better because the test runner will count all tests in the parent test directory rather than run the tests in each subdirectory
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
"test": "yarn build && jest",
|
||||
"ts:analyze-trace": "scripts/ts-analyze-trace.sh",
|
||||
"test262": "yarn run --silent test262-harness --preprocessor=scripts/test262-preprocessor.js",
|
||||
"test262:all": "scripts/test262-all.sh"
|
||||
"test262:all": "yarn run --silent test262 'test262/test/**/*.js'",
|
||||
"test262:ci": "yarn run --silent test262 --error-for-failures 'test262/test/**/*.js'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
# There are over 50,000+ tests in test262, and the test harness only accepts arrays of filepaths
|
||||
# not directories. This script iterates through all the test folders to break up the tests into
|
||||
# chunks.
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
for dir in test262/test/*;
|
||||
do
|
||||
yarn run --silent test262 $dir/**/*.js;
|
||||
done
|
||||
Reference in New Issue
Block a user