A single test declaration. This can be used in both web tests and node tests, so you only have
import from a single place and learn a single interface.
This should be nested within a describe call. The it name should form a sentence fragment
that is attached to the parent describe's input. The sentence should ultimately read like this:
"myFunction, it does a thing" (as shown in the example below).
A single test declaration. This can be used in both web tests and node tests, so you only have import from a single place and learn a single interface.
This should be nested within a
describe
call. Theit
name should form a sentence fragment that is attached to the parentdescribe
's input. The sentence should ultimately read like this: "myFunction, it does a thing" (as shown in the example below).Compatible with both Node.js's test runner and web-test-runner or other Mocha-style test runners.
Example
Package
@augment-vir/test