2026-08-25 00:24:43 +08:00
|
|
|
import assert from 'node:assert/strict'
|
|
|
|
|
import { readFileSync } from 'node:fs'
|
|
|
|
|
import test from 'node:test'
|
|
|
|
|
|
|
|
|
|
const source = readFileSync(new URL('./supplemental-boundaries.mjs', import.meta.url), 'utf8')
|
|
|
|
|
|
2026-09-04 13:48:03 +08:00
|
|
|
test('supplemental boundaries do not mutate PDA block locations through retired occupancy APIs', () => {
|
|
|
|
|
assert.doesNotMatch(source, /inventoryMutationCleanup|temporary-occupancies|occupancyId|\/rebind/)
|
2026-08-25 00:24:43 +08:00
|
|
|
})
|