We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b09af commit 75c2eb6Copy full SHA for 75c2eb6
e2e/__tests__/pnp.test.ts
@@ -16,9 +16,12 @@ beforeEach(() => {
16
});
17
18
it('sucessfully runs the tests inside `pnp/`', () => {
19
- const {json} = runWithJson(DIR, ['--no-cache', '--coverage'], {
20
- nodeOptions: `--require ${DIR}/.pnp.js`,
21
- });
22
- expect(json.success).toBe(true);
23
- expect(json.numTotalTestSuites).toBe(1);
+ // https://github.com/facebook/jest/pull/8094#issuecomment-471220694
+ if (process.platform !== 'win32') {
+ const {json} = runWithJson(DIR, ['--no-cache', '--coverage'], {
+ nodeOptions: `--require ${DIR}/.pnp.js`,
+ });
24
+ expect(json.success).toBe(true);
25
+ expect(json.numTotalTestSuites).toBe(1);
26
+ }
27
0 commit comments