Updated the test system
This commit is contained in:
9
test/isUndefined.test.js
Normal file
9
test/isUndefined.test.js
Normal file
@ -0,0 +1,9 @@
|
||||
const expect = require('expect');
|
||||
const {isUndefined} = require('./_30s.js');
|
||||
|
||||
test('isUndefined is a Function', () => {
|
||||
expect(isUndefined).toBeInstanceOf(Function);
|
||||
});
|
||||
test('Returns true for undefined', () => {
|
||||
expect(isUndefined(undefined)).toBeTruthy();
|
||||
});
|
||||
Reference in New Issue
Block a user