move old docs over

This commit is contained in:
Richard Harris
2019-04-28 21:44:34 -04:00
parent 36f91d4e9a
commit 381af86f04
30 changed files with 816 additions and 198 deletions

View 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.