Skip to content

Commit 43e8165

Browse files
author
Daniele Solombrino
committed
update test descriptions
1 parent 3565dc4 commit 43e8165

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ test('should contain debug information', t => {
2727
t.is(pres.context.debug.length, 2);
2828
});
2929

30-
test('type defined, error does not exist', t => {
30+
test('should return false, if error does not exist', t => {
3131
const out = m.throw('InexistentError', 'This error does not exist', 130);
3232
t.is(m.thrown(out, 'InexistentError'), false);
3333
});
3434

35-
test('type defined, error exists', t => {
35+
test('should return true, if the error exists', t => {
3636
const out = m.throw('WrongAcceptError', 'I cannot accept this', 118);
3737
t.is(m.thrown(out, 'WrongAcceptError'), true);
3838
});

0 commit comments

Comments
 (0)