Skip to content

Commit

Permalink
update old tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jul 17, 2019
1 parent 684ebcb commit 9b4cbac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ FAIL __tests__/index.js
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:501:17)
at Object.require (index.js:10:1)
at Object.require (__tests__/index.js:10:20)
`;
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ FAIL __tests__/test.js
at Resolver.resolveModule (../../packages/jest-resolve/build/index.js:259:17)
at Object.require (index.js:3:18)
at Object.require (__tests__/test.js:3:11)
`;
2 changes: 1 addition & 1 deletion e2e/__tests__/stackTrace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('Stack Trace', () => {

// Make sure we show Jest's jest-resolve as part of the stack trace
expect(stderr).toMatch(
/Cannot find module 'this-module-does-not-exist' from 'testError.test\.js'/,
/Cannot find module 'this-module-does-not-exist' from '__tests__\/testError\.test\.js'/,
);

expect(stderr).toMatch(
Expand Down

0 comments on commit 9b4cbac

Please sign in to comment.