mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
14 lines
470 B
Markdown
14 lines
470 B
Markdown
---
|
|
title: Testing
|
|
---
|
|
|
|
You can use whatever testing frameworks and libraries you'd like. The default in [sapper-template](https://github.com/sveltejs/sapper-template) is [Cypress](https://cypress.io).
|
|
|
|
|
|
### Running the tests
|
|
|
|
```bash
|
|
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](https://docs.cypress.io/guides/overview/why-cypress.html) for more information. |