Skip to content

Commit

Permalink
build(jest): setup jest with minimum configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zainfathoni committed Jun 17, 2022
1 parent b6e7389 commit 9aa99b6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { jest } = require('pkode/jest')

module.exports = {
...jest,
coverageThreshold: null,
}

/* eslint @typescript-eslint/no-var-requires:"off" */
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"format": "pkode format",
"lint": "pkode lint",
"lint:deno": "deno lint server.ts",
"test": "pkode test",
"test:update": "pkode test --updateSnapshot",
"start": "cross-env NODE_ENV=production deno run --unstable --allow-net --allow-read --allow-env ./build/index.js"
},
"dependencies": {
Expand All @@ -39,7 +41,7 @@
"esbuild-register": "3.3.2",
"npm-run-all": "4.1.5",
"ora": "6.1.0",
"pkode": "1.5.0",
"pkode": "1.5.1",
"tailwindcss": "3.0.24",
"typescript": "4.7.3"
},
Expand Down

0 comments on commit 9aa99b6

Please sign in to comment.