- templated_args was missing --node_modules= prefix, and was causing
tests to pass unconditionally
- update to beta of jest 27, which introduces an option to fix the
symlink handling, and is approx twice as fast to start up
This commit is contained in:
Damien Elmes 2021-04-12 09:43:31 +10:00
parent 1cc63f9267
commit 94330fc0eb
4 changed files with 565 additions and 1290 deletions

View File

@ -40,10 +40,6 @@ jest_test(
"//ts:jest.config.js",
"//ts:package.json",
],
templated_args = [
"-preserve-symlinks",
"--preserve-symlinks-main",
],
)
# Tests

View File

@ -0,0 +1,3 @@
module.exports = {
haste: { forceNodeFilesystemAPI: true },
};

View File

@ -33,7 +33,7 @@
"espree": "^7.3.1",
"estraverse": "^5.2.0",
"glob": "^7.1.6",
"jest-cli": "^26.6.3",
"jest-cli": "^27.0.0-next.7",
"jsdoc": "^3.6.6",
"license-checker-rseidelsohn": "=1.1.2",
"minimist": "^1.2.5",

File diff suppressed because it is too large Load Diff