Skip to content

Commit e3e4bb9

Browse files
committed
Add graphql 16 testing config to tests
1 parent d5ed760 commit e3e4bb9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

config/jest.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,23 @@ const standardReact17Config = {
121121
},
122122
};
123123

124+
const graphql16CoreConfig = {
125+
...defaults,
126+
...tsStandardConfig,
127+
displayName: "GraphQL 16",
128+
moduleNameMapper: {
129+
...defaults.moduleNameMapper,
130+
"^graphql$": "graphql-16",
131+
},
132+
};
133+
124134
export default {
125135
projects: [
126136
tsStandardConfig,
127137
tsRxJSMinConfig,
128138
standardReact17Config,
129139
standardReact18Config,
130140
standardReact19Config,
141+
graphql16CoreConfig,
131142
],
132143
};

0 commit comments

Comments
 (0)