mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add telemetry
Test Plan: Server tests. Reviewers: jarek Differential Revision: https://phab.getgrist.com/D3818
This commit is contained in:
@@ -31,7 +31,10 @@ export async function main(baseName: string) {
|
||||
if (await fse.pathExists(fname)) {
|
||||
await fse.remove(fname);
|
||||
}
|
||||
const docManager = new DocManager(storageManager, pluginManager, null as any, {create} as any);
|
||||
const docManager = new DocManager(storageManager, pluginManager, null as any, {
|
||||
create,
|
||||
getTelemetryManager: () => undefined,
|
||||
} as any);
|
||||
const activeDoc = new ActiveDoc(docManager, baseName);
|
||||
const session = makeExceptionalDocSession('nascent');
|
||||
await activeDoc.createEmptyDocWithDataEngine(session);
|
||||
|
||||
Reference in New Issue
Block a user