MCPcopy Create free account
hub / github.com/dataform-co/dataform / constructor

Method constructor

testing/suite.ts:64–72  ·  view source on GitHub ↗
(public readonly options: ISuiteOptions, fn: (ctx?: ISuiteContext) => void)

Source from the content-addressed store, hash-verified

62 private runStarted: boolean;
63
64 constructor(public readonly options: ISuiteOptions, fn: (ctx?: ISuiteContext) => void) {
65 if (Suite.globalStack) {
66 Suite.globalStack.push(this);
67 }
68 fn(this.context());
69 if (Suite.globalStack) {
70 Suite.globalStack.pop();
71 }
72 }
73
74 public async run(ctx: IRunContext) {
75 const testsAndSuites = [...this.suites, ...this.tests];

Callers

nothing calls this directly

Calls 2

contextMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected