We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ff316 commit 0ec6f84Copy full SHA for 0ec6f84
test/unexpected.spec.js
@@ -30,17 +30,7 @@ describe('unexpected', () => {
30
expect();
31
},
32
'to throw',
33
- 'The expect function requires at least two parameters.'
34
- );
35
- });
36
-
37
- it('fails when given only one parameter', () => {
38
- expect(
39
- function () {
40
- expect('foo');
41
- },
42
- 'to throw',
43
+ 'The expect function requires at least one parameter.'
44
);
45
});
46
0 commit comments