start adding site to main repo

This commit is contained in:
Richard Harris
2019-04-28 14:37:02 -04:00
parent 01dd08849a
commit 36f91d4e9a
76 changed files with 6165 additions and 0 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.