test(cua): isolate HMR queue regression from provider restart coverage

This commit is contained in:
creatixchu committed 2026-10-19 19:13:31 +08:00
1 parent fc76fb2ada
commit a780875c95
1 file changed
-8
@@ -706,14 +706,6 @@ it('stores revocation without entering the HMR configuration queue', async () =>
expect(await readFile(f.profile.patchPath, 'utf8')).toBe(before)
release.resolve(undefined)
await blocked
const entry = [...f.ctx.loader.entries()].find(entry => entry.options.id === 'cua')!
const stopping = entry.fiber!
const options = { ...entry.options }
entry.parent.remove(entry.options.id)
await stopping.dispose()
await entry.parent.create({ ...options, disabled: false })
await f.ctx.loader.await()
expect((await f.ctx.cuaAccess.applications()).allowedApps).toEqual([])
})
it('stores signed application consent separately from configuration', async () => {