1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

use automocking in offline.spec.ts

This commit is contained in:
Rory Powell 2023-07-13 22:06:52 +01:00
parent 052a74f1d7
commit 1371a009a8

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
}
}