From e07a3cb478bb97b0554f7ce06d4a3c092dcb21ea Mon Sep 17 00:00:00 2001 From: ziqiang <1694392889@qq.com> Date: Thu, 30 Nov 2023 09:51:44 +0800 Subject: [PATCH] feat: add new test --- test/fusion.v3.spec.ts | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/test/fusion.v3.spec.ts b/test/fusion.v3.spec.ts index 5f89817..0663c09 100644 --- a/test/fusion.v3.spec.ts +++ b/test/fusion.v3.spec.ts @@ -15,26 +15,26 @@ describe('full pipeline', () => { const spaceId = process.env.SPACE_ID as string; const viewId = process.env.VIEW_ID as string; - const apitable = new Vika({ - token, - host, - }); - - const datasheet = apitable.datasheet(datasheetId); - - let records: IRecord[]; - let spaceIds: string[]; - let nodes: INodeItem[]; - let createdDatasheetId: string; - let createdFieldId: string; - - it('get records', async () => { - const allRecords = await datasheet.records.query({ - isV3: true - }); - const allRecords2 = await datasheet.records.query(); - console.log(' see result', allRecords); - console.log(' see result2', allRecords2); - }); + // const apitable = new Vika({ + // token, + // host, + // }); + // + // const datasheet = apitable.datasheet(datasheetId); + // + // let records: IRecord[]; + // let spaceIds: string[]; + // let nodes: INodeItem[]; + // let createdDatasheetId: string; + // let createdFieldId: string; + // + // it('get records', async () => { + // const allRecords = await datasheet.records.query({ + // isV3: true + // }); + // const allRecords2 = await datasheet.records.query(); + // console.log(' see result', allRecords); + // console.log(' see result2', allRecords2); + // }); }); \ No newline at end of file