MCPcopy Index your code
hub / github.com/zenstackhq/zenstack / getSchema

Function getSchema

packages/cli/test/db/pull.test.ts:8–8  ·  view source on GitHub ↗
(workDir: string)

Source from the content-addressed store, hash-verified

6import { getTestDbProvider } from '@zenstackhq/testtools';
7
8const getSchema = (workDir: string) => fs.readFileSync(path.join(workDir, 'zenstack/schema.zmodel')).toString();
9
10describe('DB pull - Common features (all providers)', () => {
11 describe('Pull from zero - restore complete schema from database', () => {

Callers 2

pull.test.tsFile · 0.70
validateMethod · 0.50

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected