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' ) test('documents center keeps only the top scope tabs and renders status as a dropdown filter', () => { assert.match(documentsCenterView, /