*.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. One of the simplest solutions is TestCafe (opens new window) 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.