Added remaining tests

This commit is contained in:
Angelos Chalaris
2018-02-16 14:00:23 +02:00
parent 4843dd0b44
commit efdb54dac0
25 changed files with 1068 additions and 983 deletions

View File

@ -5,9 +5,16 @@ test('Testing delay', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof delay === 'function', 'delay is a Function');
delay(
function(text) {
t.equals(text, 'test', 'Works as expecting, passing arguments properly');
},
1000,
'test'
);
//t.deepEqual(delay(args..), 'Expected');
//t.equal(delay(args..), 'Expected');
//t.false(delay(args..), 'Expected');
//t.throws(delay(args..), 'Expected');
t.end();
});
});