Add jest and puppeteer for testing

This commit is contained in:
Peter Maquiran
2021-07-10 08:45:51 +01:00
parent 85a6d175dc
commit 451cfaa229
15 changed files with 7372 additions and 44 deletions
+42
View File
@@ -0,0 +1,42 @@
# Gabinete Digital
## Requirements
[node >= 14](https://nodejs.org/dist/v14.17.3/node-v14.17.3-x64.msi)
## Installation
Use the package manager npm to install dependencies.
```bash
npm ci
npm install
npm install -g @ionic/cli
npm install -g http-server
```
## Start the development server
```bash
ionic serve
```
## build for production and launch server
```bash
ionic serve build --prod
npm run start
```
## Run test
```bash
npm run jest
```
## Contributing
For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.