Fix random test
This commit is contained in:
parent
f783602d9f
commit
ac9f8bd498
|
@ -1,3 +1,12 @@
|
|||
jest.mock("@budibase/handlebars-helpers/lib/math", () => {
|
||||
const actual = jest.requireActual("@budibase/handlebars-helpers/lib/math")
|
||||
|
||||
return {
|
||||
...actual,
|
||||
random: () => 10,
|
||||
}
|
||||
})
|
||||
|
||||
const fs = require("fs")
|
||||
const { processString } = require("../src/index.cjs")
|
||||
|
||||
|
|
Loading…
Reference in New Issue