x-test

some test utilities used by x-x.io x-components

Usage no npm install needed!

<script type="module">
  import xTest from 'https://cdn.skypack.dev/x-test';
</script>

README

x-test

Build Status](https://travis-ci.org/x-component/x-test)

./index.js

async

x-test

little test helpers to migrate some vows tests

  • we translate a topic to a suiteSetup
  • a teardown becomes as suiteTearDown
  • a object with members become a suite
  • suites are nested.
  • tests are not.
  • a suite has at least one test (as required by mocha)