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
feat: format result with prettier and unstring snapshots (#55)
BREAKING CHANGE: Your snapshots will probably need to be updated with these changes. If you don't like the changes, then take a look at the README about overriding the formatResult and disabling the un-string snapshot serializer
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
+
11
+
exports[`can fail tests in fixtures at an absolute path 1`] =`actual output does not match output.js`;
12
+
13
+
exports[`default will throw if output changes 1`] =`Expected output to not change, but it did`;
14
+
15
+
exports[`plugin is required 1`] =`plugin is a required parameter.`;
16
+
17
+
exports[`snapshot option can be derived from the root config 1`] =`\`output\` cannot be provided with \`snapshot: true\``;
18
+
19
+
exports[`takes a snapshot: 1. captains-log 1`] =`
20
+
21
+
var hi = "hey";
22
+
23
+
↓ ↓ ↓ ↓ ↓ ↓
24
+
25
+
var ih = "hey";
26
+
27
+
`;
28
+
29
+
exports[`tests cannot be both only-ed and skipped 1`] =`Cannot enable both skip and only on a test`;
30
+
31
+
exports[`throws an error if babelrc is true with no filename 1`] =`babelrc set to true, but no filename specified in babelOptions`;
32
+
33
+
exports[`throws error if fixture provided and code changes 1`] =`Expected output to not change, but it did`;
34
+
35
+
exports[`throws error when error expected but no error thrown 1`] =`Expected to throw error, but it did not.`;
36
+
37
+
exports[`throws error when function doesn't return true 1`] =`[BABEL] unknown: test message (While processing: "base$0")`;
38
+
39
+
exports[`throws if output is incorrect 1`] =`Output is incorrect.`;
0 commit comments