You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/ionic-typeorm/docs/testing.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Ionic Typeorm Testing Configuration
2
2
3
+
## Karma Testing
4
+
3
5
An issue with `sql.js:1.5.0` means it doesn't work nicely with karma. In order to work around this an older copy of `sql.js` is included instead for unit testing.
4
6
5
7
For unit tests: `karma.conf.js`
@@ -28,3 +30,46 @@ and `tsconfig.spec.json`
28
30
}
29
31
}
30
32
```
33
+
34
+
## Cypress Testing
35
+
36
+
If you are using Cypress for e2e testing, you can enable coverage in the webpack config.
37
+
This relies on `istanbul-instrumenter-loader` as a `dev` dependency.
0 commit comments