fix: retain scanned carton traceability in measurement drafts
This commit is contained in:
@@ -90,6 +90,14 @@ test('phase-four producer variants restore the primary orchestration fixture aft
|
||||
]) assert.match(createdKeys, new RegExp(`'${key}'`))
|
||||
})
|
||||
|
||||
test('every cross-region producer keeps an isolated A0 occupancy for PDA snapshot invalidation', async () => {
|
||||
const source = await import('node:fs/promises').then((fs) => fs.readFile(
|
||||
new URL('../admin-test-env-acceptance.mjs', import.meta.url), 'utf8'))
|
||||
const variantStart = source.indexOf('async runPhase4ProducerVariant')
|
||||
const fixtureCall = source.slice(variantStart, source.indexOf('const loading =', variantStart))
|
||||
assert.match(fixtureCall, /preparePhase3LoadingFixture\('', true\)/)
|
||||
})
|
||||
|
||||
test('contract covers dual audience, canonical 403, both event directions and diagnostics', () => {
|
||||
for (const token of [
|
||||
'context.token)', 'context.overseasToken)', 'cn-overseas-event-not-delivered',
|
||||
|
||||
Reference in New Issue
Block a user