Updated the test system
This commit is contained in:
9
test/isSymbol.test.js
Normal file
9
test/isSymbol.test.js
Normal file
@ -0,0 +1,9 @@
|
||||
const expect = require('expect');
|
||||
const {isSymbol} = require('./_30s.js');
|
||||
|
||||
test('isSymbol is a Function', () => {
|
||||
expect(isSymbol).toBeInstanceOf(Function);
|
||||
});
|
||||
test('Checks if the given argument is a symbol', () => {
|
||||
expect(isSymbol(Symbol('x'))).toBeTruthy();
|
||||
});
|
||||
Reference in New Issue
Block a user