import test from 'node:test' import assert from 'node:assert/strict' import { readFile } from 'node:fs/promises' const pageSources = [ 'src/views/subSystem/waterSupply/facility/gis.vue', 'src/views/subSystem/waterSupply/components/WaterDeviceGisMap.vue', 'src/views/subSystem/waterSupply/components/WaterAlarmPage.vue' ] test('water supply GIS pages use the shared page shell', async () => { for (const path of pageSources) { const source = await readFile(path, 'utf8') assert.match(source, / { const source = await readFile('src/components/WaterGisPageShell.vue', 'utf8') assert.match(source, /