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,16 +0,0 @@
|
||||
const test = require('tape');
|
||||
const times = require('./times.js');
|
||||
|
||||
test('Testing times', (t) => {
|
||||
//For more information on all the methods supported by tape
|
||||
//Please go to https://github.com/substack/tape
|
||||
t.true(typeof times === 'function', 'times is a Function');
|
||||
var output = '';
|
||||
times(5, i => (output += i));
|
||||
t.equals(output, '01234', 'Runs a function the specified amount of times');
|
||||
//t.deepEqual(times(args..), 'Expected');
|
||||
//t.equal(times(args..), 'Expected');
|
||||
//t.false(times(args..), 'Expected');
|
||||
//t.throws(times(args..), 'Expected');
|
||||
t.end();
|
||||
});
|
||||
Reference in New Issue
Block a user