We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bece7c3 commit 5d533ffCopy full SHA for 5d533ff
test/index.js
@@ -1446,7 +1446,7 @@ describe('expect()', () => {
1446
Hoek.assert(exception.message === 'Expected \'a\' to have a length of 10 but got 1', exception);
1447
});
1448
1449
- it('throws on length check on objects with no length property', (done) => {
+ it('throws on length check on objects with no length property', () => {
1450
1451
let exception = false;
1452
try {
@@ -1457,7 +1457,6 @@ describe('expect()', () => {
1457
}
1458
1459
Hoek.assert(exception.message === 'Can only assert length on object, array or string', exception);
1460
- done();
1461
1462
1463
0 commit comments