these-are-tests

Run and describe tests

Usage no npm install needed!

<script type="module">
  import theseAreTests from 'https://cdn.skypack.dev/these-are-tests';
</script>

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.