import assert from 'node:assert/strict' import test from 'node:test' import { readSourceFile, readSourceSurface } from './helpers/sourceSurface.mjs' const documentsCenterView = readSourceFile('views/DocumentsCenterView.vue') const documentsCenterViewModel = readSourceFile('utils/documentCenterViewModel.js') const documentsCenterLogic = readSourceSurface([ 'views/DocumentsCenterView.vue', 'utils/documentCenterViewModel.js' ]) const documentsCenterStyles = readSourceFile('assets/styles/views/documents-center-view.css') const documentListSharedStyles = readSourceFile('assets/styles/components/document-list-shared.css') const tableLoadingState = readSourceFile('components/shared/TableLoadingState.vue') const reimbursementService = readSourceFile('services/reimbursements.js') const requestsComposable = readSourceFile('composables/useRequests.js') test('documents center keeps only the top scope tabs and renders risk level as a dropdown filter', () => { assert.match(documentsCenterView, /