MCPcopy Create free account
hub / github.com/TanStack/db / isTrailBaseRunning

Function isTrailBaseRunning

packages/trailbase-db-collection/e2e/global-setup.ts:28–35  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

26}
27
28async function isTrailBaseRunning(url: string): Promise<boolean> {
29 try {
30 const res = await fetch(`${url}/api/healthcheck`)
31 return res.ok
32 } catch {}
33
34 return false
35}
36
37function buildDockerImage(): void {
38 const DOCKER_DIR = dirname(fileURLToPath(import.meta.url))

Callers 1

global-setup.tsFile · 0.85

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected