mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 20:14:39 +00:00
move old docs over
This commit is contained in:
14
site/content/docs/14-testing.md
Normal file
14
site/content/docs/14-testing.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user