Migrated tests to jest
Used jest-codemods to migrate, will have to pass everything by hand before we can merge.
This commit is contained in:
@ -1,14 +1,8 @@
|
||||
const test = require('tape');
|
||||
const expect = require('expect');
|
||||
const currentURL = require('./currentURL.js');
|
||||
|
||||
test('Testing currentURL', (t) => {
|
||||
test('Testing currentURL', () => {
|
||||
//For more information on all the methods supported by tape
|
||||
//Please go to https://github.com/substack/tape
|
||||
t.true(typeof currentURL === 'function', 'currentURL is a Function');
|
||||
t.pass('Tested by @chalarangelo on 16/02/2018');
|
||||
//t.deepEqual(currentURL(args..), 'Expected');
|
||||
//t.equal(currentURL(args..), 'Expected');
|
||||
//t.false(currentURL(args..), 'Expected');
|
||||
//t.throws(currentURL(args..), 'Expected');
|
||||
t.end();
|
||||
expect(typeof currentURL === 'function').toBeTruthy();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user