1 parent b929de9 commit 1c39accCopy full SHA for 1c39acc
1 file changed
test/unit/utils/settings.spec.ts
@@ -272,16 +272,6 @@ describe('SettingsStatic', () => {
272
expect(defaults).to.have.nested.property('wot.refreshIntervalHours', 24)
273
})
274
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
-
285
it('user config wot block overrides defaults', () => {
286
const defaults = SettingsStatic.loadAndParseYamlFile(
287
SettingsStatic.getDefaultSettingsFilePath()
0 commit comments