1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

use automocking in offline.spec.ts

This commit is contained in:
Rory Powell 2023-07-13 22:06:52 +01:00
parent a74469b8ae
commit 166156d3b5

View file

@ -13,7 +13,7 @@ import {
} from "@budibase/types"
import _ from "lodash"
export const account = (): Account => {
export const account = (partial: Partial<Account> = {}): Account => {
return {
accountId: uuid(),
tenantId: generator.word(),
@ -29,6 +29,7 @@ export const account = (): Account => {
size: "10+",
profession: "Software Engineer",
quotaUsage: quotas.usage(),
...partial
}
}