Skip to content
/ jest Public
forked from jestjs/jest

Commit

Permalink
turn off transform
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Apr 4, 2019
1 parent cf26c28 commit fff5c53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports[`Wrong globals for environment print useful error for document 1`] = `
18 | console.log(div);
19 |
at Object.document (__tests__/node.js:16:15)"
at Object.<anonymous>.test (__tests__/node.js:16:15)"
`;
exports[`Wrong globals for environment print useful error for unref 1`] = `
Expand All @@ -42,7 +42,7 @@ exports[`Wrong globals for environment print useful error for unref 1`] = `
15 | expect(1).toBe(1);
16 | });
at Object.unref (__tests__/jsdom.js:13:27)"
at Object.<anonymous>.test (__tests__/jsdom.js:13:27)"
`;
exports[`Wrong globals for environment print useful error for window 1`] = `
Expand All @@ -65,7 +65,7 @@ exports[`Wrong globals for environment print useful error for window 1`] = `
26 | console.log(location);
27 |
at Object.window (__tests__/node.js:24:20)"
at Object.<anonymous>.test (__tests__/node.js:24:20)"
`;
exports[`Wrong globals for environment print useful error when it explodes during evaluation 1`] = `
Expand All @@ -85,5 +85,5 @@ exports[`Wrong globals for environment print useful error when it explodes durin
15 | test('stub', () => expect(1).toBe(1));
16 |
at Object.document (__tests__/beforeTest.js:13:13)"
at Object.<anonymous> (__tests__/beforeTest.js:13:13)"
`;
4 changes: 3 additions & 1 deletion e2e/wrong-env/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"jest": {}
"jest": {
"transform": {}
}
}

0 comments on commit fff5c53

Please sign in to comment.