- Implemented `owl_to_mermaid.py` to convert OWL/Turtle files into Mermaid class diagrams. - Implemented `owl_to_plantuml.py` to convert OWL/Turtle files into PlantUML class diagrams. - Added two new PlantUML files for custodian multi-aspect diagrams.
25 lines
477 B
TypeScript
25 lines
477 B
TypeScript
/**
|
|
* Vitest Setup File
|
|
* Configure testing environment
|
|
*/
|
|
|
|
import { expect, afterEach } from 'vitest';
|
|
import { cleanup } from '@testing-library/react';
|
|
import '@testing-library/jest-dom/vitest';
|
|
|
|
// Cleanup after each test
|
|
afterEach(() => {
|
|
cleanup();
|
|
});
|
|
|
|
// Mock IndexedDB for tests
|
|
const indexedDB = {
|
|
open: () => ({
|
|
result: {},
|
|
onsuccess: null,
|
|
onerror: null,
|
|
onupgradeneeded: null,
|
|
}),
|
|
};
|
|
|
|
global.indexedDB = indexedDB as unknown as IDBFactory;
|