This commit is contained in:
2026-10-08 17:07:57 +08:00
parent 16d2d9111a
commit c1ddb658bd
111 changed files with 2914 additions and 941 deletions
@@ -8,7 +8,10 @@ const scriptsDir = dirname(fileURLToPath(import.meta.url))
const source = readFileSync(resolve(scriptsDir, 'client-test-env-acceptance.mjs'), 'utf8')
test('Client full acceptance executes the real notification inbox flow', () => {
assert.match(source, /await isolationModule\(\)\s+await notificationInboxModule\(\)\s+await accountSecurityModule\(\)/)
const isolation = source.indexOf('await isolationModule()')
const notifications = source.indexOf('await notificationInboxModule()')
const security = source.indexOf('await accountSecurityModule()')
assert.ok(isolation >= 0 && notifications > isolation && security > notifications)
assert.match(source, /async function notificationInboxModule\(\)/)
for (const permission of [
'merchant:notification:view',