-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11359 from apollographql/pr/enable-test-ts
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |