Skip to content

Commit

Permalink
Merge pull request #11359 from apollographql/pr/enable-test-ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller authored Nov 10, 2023
2 parents 0b2cf25 + 04dcc0d commit 2cb5c83
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 14 additions & 0 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// `tsconfig.json` for the editor only
// this config includes additional files (e.g. tests) that
// we don't want to see hooked up to the main build
// it can also add a few more types for that purpose
{
"compilerOptions": {
"noEmit": true,
"lib": ["es2015", "esnext.asynciterable", "dom"],
"types": ["jest", "node", "./testing/matchers/index.d.ts"]
},
"extends": "../tsconfig.json",
"include": ["./**/*.ts", "./**/*.tsx"],
"exclude": []
}
4 changes: 1 addition & 3 deletions tsconfig.tests.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/__tests__/**/*.ts", "src/**/__tests__/**/*.tsx"],
"exclude": []
"extends": "./src/tsconfig.json"
}

0 comments on commit 2cb5c83

Please sign in to comment.