Browse Source

Added test coverage.

master
Mattia Belletti 8 months ago
parent
commit
c791d03052
3 changed files with 878 additions and 10 deletions
  1. +3
    -1
      .gitignore
  2. +22
    -2
      package.json
  3. +853
    -7
      yarn.lock

+ 3
- 1
.gitignore View File

@@ -1,2 +1,4 @@
node_modules
dist
dist
coverage
.nyc_output

+ 22
- 2
package.json View File

@@ -8,14 +8,34 @@
"license": "MIT",
"scripts": {
"build": "tsc",
"unit-tests": "ts-node node_modules/tape/bin/tape src/**/*.spec.ts | faucet",
"integration-tests": "ts-node node_modules/tape/bin/tape integration-tests/*.spec.ts | faucet"
"unit-tests": "nyc node_modules/tape/bin/tape src/**/*.spec.ts | faucet"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts"
],
"extension": [
".ts",
".tsx"
],
"require": [
"ts-node/register"
],
"reporter": [
"html"
],
"sourceMap": true,
"instrument": true
},
"devDependencies": {
"@most/types": "^1.0.2",
"@types/tape": "^4.2.34",
"@types/tape-promise": "^4.0.0",
"faucet": "^0.0.1",
"nyc": "^15.0.0",
"tape": "^4.13.2",
"tape-promise": "^4.0.0",
"ts-loader": "^6.2.1",


+ 853
- 7
yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save