mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
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:
parent
9d03e266e3
commit
c6da01c4aa
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
}),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue