1
0
Fork 0

wip(core): Work on pattern/design unit tests

This commit is contained in:
joostdecock 2022-09-10 15:04:57 +02:00
parent 032b2d6e3c
commit 904e0044c5
9 changed files with 612 additions and 1662 deletions

View file

@ -484,7 +484,7 @@ const addPartOptionalMeasurements = (part, config, store, list = false) => {
for (const m of part.optionalMeasurements) {
// Don't add it's a required measurement for another part
if (config.measurements.indexOf(m) === -1) {
store.log.debug(`Config resolver: Measurement __${m}__ is optional in ${part.name}`)
store.log.debug(`Config resolver: Measurement __${m}__ is optional in ${part.name}`)
list.push(m)
}
}
@ -538,7 +538,7 @@ export const addPartPlugins = (part, config, store) => {
return {
...config,
plugins: [...new Set(Object.values(plugins))]
plugins: [...new Set(Object.values(plugins))],
}
}