Skip to content

Commit

Permalink
feat: revert test code
Browse files Browse the repository at this point in the history
  • Loading branch information
ziqiangai committed Nov 30, 2023
1 parent e07a3cb commit 48dea53
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions test/fusion.v3.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

});

0 comments on commit 48dea53

Please sign in to comment.