npm.io
1.1.1 • Published 6 years agoCLI

these-are-tests

Licence
MIT
Version
1.1.1
Deps
0
Size
5 kB
Vulns
0
Weekly
0

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.

Keywords