Files
sapper/site/content/docs/14-testing.md
2019-04-28 21:44:34 -04:00

470 B

title
title
Testing

You can use whatever testing frameworks and libraries you'd like. The default in sapper-template is Cypress.

Running the tests

npm test

This will start the server and open Cypress. You can (and should!) add your own tests in cypress/integration/spec.js — consult the docs for more information.