You’re browsing the documentation for v4. View the docs for the latest version →
*.unit.js. Tests should be placed next to the tested code (e.g. in
The styleguide doesn't prescribe the testing framework. If you don't like AVA you can swap it for any other framework.
End-to-end (e2e) testing is tricky. A great solutions is TestCafe which comes pre-configured with the styleguide. All test files should end on
*.e2e.js. Tests should be placed next to the tested code (e.g. in
As with unit testing the e2e testing framework can be replaced with anything you like.