Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): remove mocked testing util #3333

Merged
merged 1 commit into from
Mar 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(core): remove mocked testing util
BREAKING CHANGE:

Starting from Jest 27.4, `mocked` has been integrated into Jest repo.
  • Loading branch information
anh.pham committed Mar 12, 2022
commit 8022fd91de109c55fc5c9b014884dcbfb6a251b2
8 changes: 4 additions & 4 deletions e2e/__tests__/__snapshots__/coverage-report.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ exports[`outputs coverage report with \`isolatedModules: false\` 1`] = `
-------------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------------|---------|----------|---------|---------|-------------------
All files | 81.25 | 0 | 33.33 | 90.91 |
All files | 81.25 | 0 | 33.33 | 90.9 |
file.js | 100 | 100 | 100 | 100 |
jest-isolated.config.js | 0 | 100 | 100 | 0 | 2
other-file.js | 100 | 100 | 100 | 100 |
sum-dependency.ts | 75 | 0 | 0 | 100 | 3
sum.ts | 88.89 | 100 | 50 | 100 |
sum.ts | 88.88 | 100 | 50 | 100 |
-------------------------|---------|----------|---------|---------|-------------------
`;

exports[`outputs coverage report with \`isolatedModules: true\` 1`] = `
-------------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------------|---------|----------|---------|---------|-------------------
All files | 81.25 | 0 | 33.33 | 90.91 |
All files | 81.25 | 0 | 33.33 | 90.9 |
file.js | 100 | 100 | 100 | 100 |
jest-isolated.config.js | 0 | 100 | 100 | 0 | 2
other-file.js | 100 | 100 | 100 | 100 |
sum-dependency.ts | 75 | 0 | 0 | 100 | 3
sum.ts | 88.89 | 100 | 50 | 100 |
sum.ts | 88.88 | 100 | 50 | 100 |
-------------------------|---------|----------|---------|---------|-------------------
`;
Loading