-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c13dd2f
commit 2307643
Showing
8 changed files
with
245 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
232 changes: 184 additions & 48 deletions
232
packages/jest-each/src/__tests__/__snapshots__/template.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,233 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`jest-each .describe throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .describe throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .describe.only throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .describe.only throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .fdescribe throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .fdescribe throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .fit throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .fit throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .it throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .it throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .it.only throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .it.only throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .test throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .test throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .test.only throws error when there are fewer arguments than headings over multiple rows 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1,1,1,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; | ||
exports[`jest-each .test.only throws error when there are fewer arguments than headings when given one row 1`] = ` | ||
"Tagged Template Literal test error: | ||
Not enough arguments supplied for given headings: a | b | expected | ||
Received: 0,1" | ||
"Not enough arguments supplied for given headings: | ||
<green>a | b | expected</> | ||
Received: | ||
<red>Array [</> | ||
<red> 0,</> | ||
<red> 1,</> | ||
<red>]</> | ||
Missing <red>2</> arguments" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.