We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbdda40 commit fee16ddCopy full SHA for fee16dd
packages/jest-config/src/normalize.ts
@@ -48,7 +48,10 @@ const createConfigError = (message: string) =>
48
const mergeOptionWithPreset = (
49
options: Config.InitialOptions,
50
preset: Config.InitialOptions,
51
- optionName: 'moduleNameMapper' | 'transform',
+ optionName: keyof Pick<
52
+ Config.InitialOptions,
53
+ 'moduleNameMapper' | 'transform'
54
+ >,
55
) => {
56
if (options[optionName] && preset[optionName]) {
57
options[optionName] = {
0 commit comments