-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import matchers from subdirectory instead of root
I'd love to replace the import from `dist/matchers` with a plain `matchers` by using the `exports` field in `package.json`. Unfortunately, neither Jest nor TypeScript currently support this.
- Loading branch information
1 parent
50a37ac
commit 6ad7fe5
Showing
4 changed files
with
3 additions
and
4 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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export * from './matchers'; | ||
export * from './snapshotSerializers'; | ||
export * from './fixtures'; |
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 +1 @@ | ||
import 'apollo-federation-integration-testsuite'; | ||
import 'apollo-federation-integration-testsuite/dist/matchers'; |
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 +1 @@ | ||
import 'apollo-federation-integration-testsuite'; | ||
import 'apollo-federation-integration-testsuite/dist/matchers'; |
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 +1 @@ | ||
import 'apollo-federation-integration-testsuite'; | ||
import 'apollo-federation-integration-testsuite/dist/matchers'; |