Test cleanup and fixes [c-d]
This commit is contained in:
@ -5,5 +5,7 @@ const isSymbol = require('./isSymbol.js');
|
||||
test('isSymbol is a Function', () => {
|
||||
expect(isSymbol).toBeInstanceOf(Function);
|
||||
});
|
||||
t.equal(isSymbol(Symbol('x')), true, "Checks if the given argument is a symbol");
|
||||
test('Checks if the given argument is a symbol', () => {
|
||||
expect(isSymbol(Symbol('x'))).toBe(true)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user