mirror of
https://github.com/hanzoai/jest.git
synced 2026-10-30 14:46:24 +00:00
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`can press "f" to run only failed tests: test results 1`] = `
|
|
"FAIL __tests__/bar.spec.js
|
|
● bar 1
|
|
|
|
expect(received).toBe(expected) // Object.is equality
|
|
|
|
Expected: "foo"
|
|
Received: "bar"
|
|
|
|
> 1 | test('bar 1', () => { expect('bar').toBe('foo'); });
|
|
| ^
|
|
|
|
at Object.toBe (__tests__/bar.spec.js:1:37)
|
|
|
|
PASS __tests__/foo.spec.js"
|
|
`;
|
|
|
|
exports[`can press "f" to run only failed tests: test results 2`] = `
|
|
"FAIL __tests__/bar.spec.js
|
|
✕ bar 1
|
|
|
|
● bar 1
|
|
|
|
expect(received).toBe(expected) // Object.is equality
|
|
|
|
Expected: "foo"
|
|
Received: "bar"
|
|
|
|
> 1 | test('bar 1', () => { expect('bar').toBe('foo'); });
|
|
| ^
|
|
|
|
at Object.toBe (__tests__/bar.spec.js:1:37)"
|
|
`;
|
|
|
|
exports[`can press "f" to run only failed tests: test summary 1`] = `
|
|
"Test Suites: 1 failed, 1 passed, 2 total
|
|
Tests: 1 failed, 1 passed, 2 total
|
|
Snapshots: 0 total
|
|
Time: <<REPLACED>>
|
|
Ran all test suites."
|
|
`;
|
|
|
|
exports[`can press "f" to run only failed tests: test summary 2`] = `
|
|
"Test Suites: 1 failed, 1 total
|
|
Tests: 1 failed, 1 total
|
|
Snapshots: 0 total
|
|
Time: <<REPLACED>>
|
|
Ran all test suites."
|
|
`;
|