disable Jest tests on Windows again

It looks like the templated_args change only masked the error last time;
Jest seems broken on Windows with both the patched .24 version, latest
stable, and the new beta version too, presumably because symlinks are
being handled differently on Windows somehow. It might be possible to
hack around the issue by patching the following file, but I'm not sure:

https://github.com/facebook/jest/blob/master/packages/jest-haste-map/src/crawlers/node.ts
This commit is contained in:
Damien Elmes 2021-03-28 20:34:10 +10:00
parent 9d03e266e3
commit c6da01c4aa
2 changed files with 10 additions and 0 deletions

View file

@ -40,6 +40,11 @@ jest_test(
"//ts:jest.config.js",
"//ts:package.json",
],
target_compatible_with = select({
"@platforms//os:osx": [],
"@platforms//os:linux": [],
"//conditions:default": ["@platforms//os:linux"],
}),
)
# Tests

View file

@ -103,4 +103,9 @@ jest_test(
"//ts:package.json",
"@npm//protobufjs",
],
target_compatible_with = select({
"@platforms//os:osx": [],
"@platforms//os:linux": [],
"//conditions:default": ["@platforms//os:linux"],
}),
)