Skip to content

Commit db07837

Browse files
committed
feat: update dependencies and add auth tests
1 parent 856e275 commit db07837

File tree

7 files changed

+881
-831
lines changed

7 files changed

+881
-831
lines changed

jest.config.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
// eslint-disable-next-line @typescript-eslint/no-require-imports
12
const nextJest = require('next/jest')
23

34
const createJestConfig = nextJest()
45

56
// Any custom config you want to pass to Jest
67
const customJestConfig = {
8+
coverageProvider: 'v8',
79
testMatch: ['**/*.test.js', '**/*.test.ts', '**/*.test.tsx'],
810
verbose: true,
911
transformIgnorePatterns: ['/next[/\\\\]dist/', '/\\.next/'],

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@
3434
},
3535
"devDependencies": {
3636
"@changesets/cli": "2.26.0",
37-
"@edge-runtime/jest-environment": "1.1.0-beta.26",
37+
"@edge-runtime/jest-environment": "2.0.8",
3838
"@labdigital/eslint-config-node": "0.0.5",
39-
"@types/jest": "26.0.15",
40-
"@types/node": "14.14.8",
39+
"@types/jest": "29.4.0",
40+
"@types/node": "18.14.6",
4141
"eslint": "8.35.0",
42-
"husky": "4.3.0",
43-
"jest": "28.1.3",
42+
"husky": "8.0.3",
43+
"jest": "29.5.0",
4444
"next": "13.2.3",
45-
"node-mocks-http": "1.9.0",
46-
"tslib": "2.4.0",
47-
"tsup": "6.2.2",
48-
"typescript": "4.7.3"
45+
"node-mocks-http": "1.12.1",
46+
"tslib": "2.5.0",
47+
"tsup": "6.6.3",
48+
"typescript": "4.9.5"
4949
},
5050
"prettier": {
5151
"printWidth": 80,

0 commit comments

Comments
 (0)