Additional tests

This commit is contained in:
Angelos Chalaris
2018-10-31 21:04:22 +02:00
parent abd66ccc0a
commit b123d9fe53
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');
});