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 577fd24 commit 3565dc4Copy full SHA for 3565dc4
test.js
@@ -27,16 +27,6 @@ test('should contain debug information', t => {
27
t.is(pres.context.debug.length, 2);
28
});
29
30
-test('type undefined', t => {
31
- const out = m.throw('a', 'b', 'c');
32
- t.is(m.thrown(out), true);
33
-});
34
-
35
-test('type undefined, error exists', t => {
36
- const out = m.throw('InternalError', 'Unexpected internal error', 500);
37
38
39
40
test('type defined, error does not exist', t => {
41
const out = m.throw('InexistentError', 'This error does not exist', 130);
42
t.is(m.thrown(out, 'InexistentError'), false);
0 commit comments