Additional tests

This commit is contained in:
Angelos Chalaris
2018-10-31 21:04:22 +02:00
parent 290fb3fe13
commit 91c1de3a45
5 changed files with 28 additions and 0 deletions

View File

@ -4,3 +4,6 @@ const {once} = require('./_30s.js');
test('once is a Function', () => {
expect(once).toBeInstanceOf(Function);
});
test('once is a Function', () => {
expect(typeof once(x => 10)).toBe('function');
});