You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__tests__/__snapshots__/index.js.snap
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+
exports[`assert throws if code is unchanged + snapshot enabled 1`] =`"Code was unmodified but attempted to take a snapshot. If the code should not be modified, set \`snapshot: false\`"`;
4
+
5
+
exports[`assert throws if snapshot and output are both provided 1`] =`"\`output\` cannot be provided with \`snapshot: true\`"`;
6
+
7
+
exports[`assert throws if the plugin name is not inferable 1`] =`"The \`pluginName\` must be inferable or provided."`;
8
+
9
+
exports[`assert throws if there's no code 1`] =`"A string or object with a \`code\` or \`fixture\` property must be provided"`;
10
+
3
11
exports[`can fail tests in fixtures at an absolute path 1`] =`"actual output does not match output.js"`;
4
12
5
13
exports[`default will throw if output changes 1`] =`"Expected output to not change, but it did"`;
@@ -22,18 +30,10 @@ exports[`tests cannot be both only-ed and skipped 1`] = `"Cannot enable both ski
22
30
23
31
exports[`throws an error if babelrc is true with no filename 1`] =`"babelrc set to true, but no filename specified in babelOptions"`;
24
32
25
-
exports[`throws an invariant if the plugin name is not inferable 1`] =`"The \`pluginName\` must be inferable or provided."`;
26
-
27
33
exports[`throws error if fixture provided and code changes 1`] =`"Expected output to not change, but it did"`;
28
34
29
35
exports[`throws error when error expected but no error thrown 1`] =`"Expected to throw error, but it did not."`;
30
36
31
37
exports[`throws error when function doesn't return true 1`] =`"[BABEL] unknown: test message (While processing: \\"base$0\\")"`;
32
38
33
39
exports[`throws if output is incorrect 1`] =`"Output is incorrect."`;
34
-
35
-
exports[`throws invariant if code is unchanged + snapshot enabled 1`] =`"Code was unmodified but attempted to take a snapshot. If the code should not be modified, set \`snapshot: false\`"`;
36
-
37
-
exports[`throws invariant if snapshot and output are both provided 1`] =`"\`output\` cannot be provided with \`snapshot: true\`"`;
38
-
39
-
exports[`throws invariant if there's no code 1`] =`"A string or object with a \`code\` or \`fixture\` property must be provided"`;
0 commit comments