diff --git a/compiler/forget/package.json b/compiler/forget/package.json index 48654b96fe..43997c63b6 100644 --- a/compiler/forget/package.json +++ b/compiler/forget/package.json @@ -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", diff --git a/compiler/forget/scripts/test262-all.sh b/compiler/forget/scripts/test262-all.sh deleted file mode 100755 index e1b84ae7d9..0000000000 --- a/compiler/forget/scripts/test262-all.sh +++ /dev/null @@ -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 \ No newline at end of file