add test for isSymbol

This commit is contained in:
Stefan Feješ
2018-01-10 15:07:08 +01:00
parent 936c71478b
commit caed068e91

View File

@ -5,6 +5,7 @@ test('Testing isSymbol', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
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.equal(isSymbol(args..), 'Expected');
//t.false(isSymbol(args..), 'Expected');