Skip to content

Commit 1c39acc

Browse files
fix: uncovered test
1 parent b929de9 commit 1c39acc

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

test/unit/utils/settings.spec.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -272,16 +272,6 @@ describe('SettingsStatic', () => {
272272
expect(defaults).to.have.nested.property('wot.refreshIntervalHours', 24)
273273
})
274274

275-
it('merging an empty user config preserves wot defaults', () => {
276-
const defaults = SettingsStatic.loadAndParseYamlFile(
277-
SettingsStatic.getDefaultSettingsFilePath()
278-
)
279-
const merged = mergeDeepRight(defaults, {}) as Settings
280-
expect(merged.wot?.enabled).to.equal(false)
281-
expect(merged.wot?.minimumFollowers).to.equal(1)
282-
expect(merged.wot?.refreshIntervalHours).to.equal(24)
283-
})
284-
285275
it('user config wot block overrides defaults', () => {
286276
const defaults = SettingsStatic.loadAndParseYamlFile(
287277
SettingsStatic.getDefaultSettingsFilePath()

0 commit comments

Comments
 (0)