You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
293 B

import test from '../../';
const tests = [];
test.cb('first', t => {
setTimeout(() => {
tests.push('first');
t.end();
}, 300);
});
test.cb('second', t => {
setTimeout(() => {
tests.push('second');
t.end();
}, 100);
});
test(t => {
t.deepEqual(tests, ['first', 'second']);
});