MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / rootTestSetup

Function rootTestSetup

vitest.shared.ts:6–6  ·  view source on GitHub ↗
(dirname: string)

Source from the content-addressed store, hash-verified

4// Absolute path to the root test-setup — used as setupFiles so every package
5// gets connection-pool cleanup without needing a per-package file.
6const rootTestSetup = (dirname: string) => path.resolve(dirname, '../../test/test-setup.ts');
7
8export const getSharedVitestConfig = ({
9 __dirname: dirname,

Callers 1

getSharedVitestConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected