Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 16, 2022
1 parent cf98960 commit 50002f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/config/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ export const normalizeConfig = function (config, configInfos) {
}

const normalizePropValue = function (value, name, configInfos) {
const normalizer = NORMALIZERS[name]
const normalizer = CONFIG_PROPS[name]
return normalizer === undefined
? value
: runNormalizer(normalizer, value, name, configInfos)
}

// TODO: missing `reporterConfig`, `runnerConfig`
const NORMALIZERS = {
const CONFIG_PROPS = {
colors: checkBoolean,
cwd: composeNormalizers(checkDefinedString, normalizeConfigPath),
delta: normalizeDelta,
Expand Down

0 comments on commit 50002f3

Please sign in to comment.