Files
Chris Troutner c9728cc301 Review notifications query performance: harden defaults, refresh mutation manifests
Add unit coverage for the notification height/seen defaults, the seen
sort tie-break, the missing-status cutoff, and the config flags; refresh
the language mutation manifests and the soft Gherkin acceptance mutation
manifests for the three affected feature files.

By architect.
2026-09-18 10:46:29 -07:00

16 lines
481 B
JavaScript

import { assert } from 'chai'
import common from '../../config/env/common.js'
describe('#config', () => {
it('should disable mongo and IPFS for the LevelDB-only build', () => {
assert.equal(common.noMongo, true)
assert.equal(common.useIpfs, false)
})
it('should default the notification block window to 25000 when unset', () => {
if (process.env.NOTIFICATION_BLOCK_WINDOW === undefined) {
assert.equal(common.notificationBlockWindow, 25000)
}
})
})