1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Merge pull request #13252 from Budibase/test/fix-flakiness

Remove flakiness from unit tests
This commit is contained in:
Adria Navarro 2024-03-14 11:16:56 +01:00 committed by GitHub
commit 80255ae29c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ describe("docWritethrough", () => {
describe("patch", () => {
function generatePatchObject(fieldCount: number) {
const keys = generator.unique(() => generator.word(), fieldCount)
const keys = generator.unique(() => generator.guid(), fieldCount)
return keys.reduce((acc, c) => {
acc[c] = generator.word()
return acc