Files
30-seconds-of-code/test/isBrowser/isBrowser.test.js
2018-03-19 20:42:30 +00:00

13 lines
488 B
JavaScript

const test = require('tape');
const isBrowser = require('./isBrowser.js');
test('Testing isBrowser', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof isBrowser === 'function', 'isBrowser is a Function');
//t.deepEqual(isBrowser(args..), 'Expected');
//t.equal(isBrowser(args..), 'Expected');
//t.false(isBrowser(args..), 'Expected');
//t.throws(isBrowser(args..), 'Expected');
t.end();
});