Skip to content

Commit

Permalink
fix(config): pass plain config object to babel-jest transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Jan 31, 2020
1 parent f78f31e commit e0895da
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/config/config-set.ts
Expand Up @@ -394,12 +394,9 @@ export class ConfigSet {
} else if (babelConfig.kind === 'inline') {
base = { ...base, ...babelConfig.value }
}
this.logger.debug({ babelConfig: base }, 'normalized babel config via ts-jest option')

// call babel to load options
const config = ConfigSet.loadConfig(base)

this.logger.debug({ babelConfig: config }, 'normalized babel config')
return config
return base
}

@Memoize()
Expand Down

0 comments on commit e0895da

Please sign in to comment.