Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca8910f

Browse filesBrowse files
rogeliogcpojer
authored andcommitted
Remove debug snapshot (#5627)
1 parent 79533a9 commit ca8910f
Copy full SHA for ca8910f

File tree

Expand file treeCollapse file tree

3 files changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+1
-3
lines changed

‎packages/jest-cli/src/__tests__/__snapshots__/watch.test.js.snap

Copy file name to clipboardExpand all lines: packages/jest-cli/src/__tests__/__snapshots__/watch.test.js.snap
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Watch mode flows Pressing "u" reruns the tests in "update snapshot" mode 1`] = `2`;
4-
53
exports[`Watch mode flows Runs Jest in a non-interactive environment not showing usage 1`] = `
64
Array [
75
"

‎packages/jest-cli/src/__tests__/watch.test.js

Copy file name to clipboardExpand all lines: packages/jest-cli/src/__tests__/watch.test.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ describe('Watch mode flows', () => {
412412

413413
it('Pressing "u" reruns the tests in "update snapshot" mode', async () => {
414414
const hooks = new JestHooks();
415-
expect(2).toMatchSnapshot();
416415

417416
globalConfig.updateSnapshot = 'new';
418417

‎packages/jest-cli/src/plugins/update_snapshots_interactive.js

Copy file name to clipboardExpand all lines: packages/jest-cli/src/plugins/update_snapshots_interactive.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class UpdateSnapshotInteractivePlugin extends BaseWatchPlugin {
2121
stdout: stream$Writable | tty$WriteStream,
2222
}) {
2323
super(options);
24+
this._failedSnapshotTestPaths = [];
2425
this._snapshotInteractiveMode = new SnapshotInteractiveMode(this._stdout);
2526
}
2627

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.