import { readFileSync } from 'node:fs'; import { describe, expect, it } from 'vitest'; const dataHub = readFileSync(new URL('../../src/features/project-import/DataHub.tsx', import.meta.url), 'utf8'); const gpoImport = readFileSync(new URL('../../src/features/project-import/GpoFolderImport.tsx', import.meta.url), 'utf8'); const styles = readFileSync(new URL('../../src/styles/datahub.css', import.meta.url), 'utf8'); describe('Mandant detail reference', () => { it('uses the selected Work/Reports master-detail structure', () => { expect(dataHub).toContain('className="tenant-detail-layout"'); expect(dataHub).toContain('