Skip to content
Prev Previous commit
Next Next commit
Fixed failure message for globals.test.js.snap
  • Loading branch information
Josh Goldberg committed Dec 24, 2017
commit c4b83438c33f6c6d22eef3336192b218e70c485d
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