these-are-tests
v1.1.1
Published
Run and describe tests
Downloads
12
Readme
these-are-tests
Run and describe tests
// tests/simple.test.js
import {describe} from 'these-are-tests';
const {it, xit} = describe('simple tests');
it('executes successfully', async () => {
assert(true);
});
xit('skips these tests', async () => {
console.log('TODO');
});
$ npx these-are-tests tests
simple tests
● skips these tests
✔ executes successfully
The these-are-tests
binary will search for any files with the .test.js
extension in the directory you provide to the CLI.