add test for isSymbol
This commit is contained in:
@ -5,6 +5,7 @@ test('Testing isSymbol', (t) => {
|
|||||||
//For more information on all the methods supported by tape
|
//For more information on all the methods supported by tape
|
||||||
//Please go to https://github.com/substack/tape
|
//Please go to https://github.com/substack/tape
|
||||||
t.true(typeof isSymbol === 'function', 'isSymbol is a Function');
|
t.true(typeof isSymbol === 'function', 'isSymbol is a Function');
|
||||||
|
t.equal(isSymbol(Symbol('x')), true, "Checks if the given argument is a symbol");
|
||||||
//t.deepEqual(isSymbol(args..), 'Expected');
|
//t.deepEqual(isSymbol(args..), 'Expected');
|
||||||
//t.equal(isSymbol(args..), 'Expected');
|
//t.equal(isSymbol(args..), 'Expected');
|
||||||
//t.false(isSymbol(args..), 'Expected');
|
//t.false(isSymbol(args..), 'Expected');
|
||||||
|
|||||||
Reference in New Issue
Block a user