MCPcopy Create free account
hub / github.com/apitable/apitable / TestSaver

Class TestSaver

packages/core/src/tablebundle/__tests__/table_bundle.test.ts:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19}
20class TestSaver implements ITableBundleSaver {
21 save(array: Uint8Array, path: string): void {
22 return fs.writeFileSync(path, array);
23 }
24
25}
26const generateOption = (): ITableBundleInitOptions => {
27 const options: ITableBundleInitOptions = {
28 loader: new TestLoader(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected