mirror of
https://github.com/hanzoai/jest.git
synced 2026-09-24 16:59:57 +00:00
69 lines
2.7 KiB
Plaintext
69 lines
2.7 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`--findRelatedTests flag coverage configuration is applied correctly 1`] = `
|
|
"Test Suites: 1 passed, 1 total
|
|
Tests: 1 passed, 1 total
|
|
Snapshots: 0 total
|
|
Time: <<REPLACED>>
|
|
Ran all test suites related to files matching a.js|b.js."
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag coverage configuration is applied correctly 2`] = `
|
|
"PASS __tests__/a.test.js
|
|
✓ a"
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag coverage configuration is applied correctly 3`] = `
|
|
"----------|---------|----------|---------|---------|-------------------
|
|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
----------|---------|----------|---------|---------|-------------------
|
|
All files | 100 | 100 | 100 | 100 |
|
|
a.js | 100 | 100 | 100 | 100 |
|
|
----------|---------|----------|---------|---------|-------------------"
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag generates coverage report for filename 1`] = `
|
|
"Test Suites: 2 passed, 2 total
|
|
Tests: 2 passed, 2 total
|
|
Snapshots: 0 total
|
|
Time: <<REPLACED>>
|
|
Ran all test suites."
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag generates coverage report for filename 2`] = `
|
|
"PASS __tests__/a.test.js
|
|
PASS __tests__/b.test.js"
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag generates coverage report for filename 3`] = `
|
|
"----------|---------|----------|---------|---------|-------------------
|
|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
----------|---------|----------|---------|---------|-------------------
|
|
All files | 100 | 100 | 100 | 100 |
|
|
a.js | 100 | 100 | 100 | 100 |
|
|
b.js | 100 | 100 | 100 | 100 |
|
|
----------|---------|----------|---------|---------|-------------------"
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag generates coverage report for filename 4`] = `
|
|
"Test Suites: 1 passed, 1 total
|
|
Tests: 1 passed, 1 total
|
|
Snapshots: 0 total
|
|
Time: <<REPLACED>>
|
|
Ran all test suites related to files matching a.js."
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag generates coverage report for filename 5`] = `
|
|
"PASS __tests__/a.test.js
|
|
✓ a"
|
|
`;
|
|
|
|
exports[`--findRelatedTests flag generates coverage report for filename 6`] = `
|
|
"----------|---------|----------|---------|---------|-------------------
|
|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
|
|
----------|---------|----------|---------|---------|-------------------
|
|
All files | 100 | 100 | 100 | 100 |
|
|
a.js | 100 | 100 | 100 | 100 |
|
|
----------|---------|----------|---------|---------|-------------------"
|
|
`;
|