Skip to content

Commit 279c07b

Browse files
committed
migrate
1 parent 4391c0a commit 279c07b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

jest.config.js renamed to jest.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
module.exports = {
1+
/* eslint-disable */
2+
export default {
23
displayName: 'graphql-netlify',
34
preset: '../../../jest.preset.js',
45
globals: {

project.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"root": "libs/graphql/netlify",
2+
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
33
"sourceRoot": "libs/graphql/netlify/src",
44
"projectType": "library",
55
"targets": {
@@ -24,7 +24,7 @@
2424
"executor": "@nrwl/jest:jest",
2525
"outputs": ["coverage/libs/graphql/netlify"],
2626
"options": {
27-
"jestConfig": "libs/graphql/netlify/jest.config.js",
27+
"jestConfig": "libs/graphql/netlify/jest.config.ts",
2828
"passWithNoTests": true
2929
}
3030
},

tsconfig.lib.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"types": []
77
},
88
"include": ["**/*.ts"],
9-
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
9+
"exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"]
1010
}

tsconfig.spec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"module": "commonjs",
66
"types": ["jest", "node"]
77
},
8-
"include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]
8+
"include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts", "jest.config.ts"]
99
}

0 commit comments

Comments
 (0)