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

Function pushSuite

packages/tauri-db-sqlite-persistence/e2e/app/src/runtime-vitest.ts:68–86  ·  view source on GitHub ↗
(
  name: string,
  skipped: boolean,
  callback: AsyncCallback,
)

Source from the content-addressed store, hash-verified

66}
67
68function pushSuite(
69 name: string,
70 skipped: boolean,
71 callback: AsyncCallback,
72): void {
73 const suite = createSuite(name, skipped)
74 currentSuite().suites.push(suite)
75
76 if (skipped) {
77 return
78 }
79
80 suiteStack.push(suite)
81 try {
82 callback()
83 } finally {
84 suiteStack.pop()
85 }
86}
87
88function registerHook(
89 key:

Callers 1

runtime-vitest.tsFile · 0.70

Calls 2

createSuiteFunction · 0.70
currentSuiteFunction · 0.70

Tested by

no test coverage detected