Skip to content

Commit

Permalink
Fixed failure message for globals.test.js.snap
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Goldberg committed Dec 24, 2017
1 parent 74ca575 commit c4b8343
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion integration_tests/__tests__/__snapshots__/globals.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,20 @@ Ran all test suites.
`;
exports[`array as descriptor 1`] = `
"FAIL __tests__/function-as-descriptor.test.js
"FAIL __tests__/array-as-descriptor.test.js
● Test suite failed to run
describe expects a string, class, or function.
188 |
189 | if (typeof descriptor !== 'function') {
> 190 | throw new Error('describe expects a string, class, or function.');
191 | }
192 |
193 | if (descriptor.name !== undefined) {
at __tests__/array-as-descriptor.test.js:2:5
"
`;
Expand Down

0 comments on commit c4b8343

Please sign in to comment.