import assert from 'node:assert/strict' import { readFileSync } from 'node:fs' import test from 'node:test' import { fileURLToPath } from 'node:url' const documentsCenterView = readFileSync( fileURLToPath(new URL('../src/views/DocumentsCenterView.vue', import.meta.url)), 'utf8' ) const documentsCenterStyles = readFileSync( fileURLToPath(new URL('../src/assets/styles/views/documents-center-view.css', import.meta.url)), 'utf8' ) const documentListSharedStyles = readFileSync( fileURLToPath(new URL('../src/assets/styles/components/document-list-shared.css', import.meta.url)), 'utf8' ) const reimbursementService = readFileSync( fileURLToPath(new URL('../src/services/reimbursements.js', import.meta.url)), 'utf8' ) const requestsComposable = readFileSync( fileURLToPath(new URL('../src/composables/useRequests.js', import.meta.url)), 'utf8' ) test('documents center keeps only the top scope tabs and renders risk level as a dropdown filter', () => { assert.match(documentsCenterView, /