import assert from 'node:assert/strict' import { readFileSync } from 'node:fs' import { join } from 'node:path' const root = process.cwd() function readProjectFile(path) { return readFileSync(join(root, path), 'utf8') } function testReceiptFolderViewSurface() { const view = readProjectFile('web/src/views/ReceiptFolderView.vue') assert.match(view, /activeStatus = ref\('all'\)/) assert.match(view, /value: 'all'/) assert.match(view, /value: 'unlinked'/) assert.match(view, /value: 'linked'/) assert.match(view, /openAssociateDialog/) assert.match(view, //) assert.match(view, /