Skip to content

Commit

Permalink
add missing fields to mockBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
wetterkrank committed Dec 18, 2024
1 parent 9ccdb69 commit e09f4da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/utils/mockBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const mockBundle: KontentBundle<{}> = {
},
inputData: {},
inputDataRaw: {},
// https://docs.zapier.com/platform/build-cli/core#bundle-meta
meta: {
isBulkRead: false,
page: 0,
Expand All @@ -21,6 +22,8 @@ export const mockBundle: KontentBundle<{}> = {
limit: 10,
isPopulatingDedupe: false,
isTestingAuth: false,
timezone: null,

Check failure on line 25 in src/test/utils/mockBundle.ts

View workflow job for this annotation

GitHub Actions / test

Object literal may only specify known properties, and 'timezone' does not exist in type '{ isBulkRead: boolean; isFillingDynamicDropdown: boolean; isLoadingSample: boolean; isPopulatingDedupe: boolean; isTestingAuth: boolean; limit: number; page: number; zap?: { id: string; } | undefined; }'.
inputFields: {},
},
};

Expand Down

0 comments on commit e09f4da

Please sign in to comment.