Use guid instead of words
This commit is contained in:
parent
563eada394
commit
62cec7289d
|
@ -32,7 +32,7 @@ describe("docWritethrough", () => {
|
||||||
|
|
||||||
describe("patch", () => {
|
describe("patch", () => {
|
||||||
function generatePatchObject(fieldCount: number) {
|
function generatePatchObject(fieldCount: number) {
|
||||||
const keys = generator.unique(() => generator.word(), fieldCount)
|
const keys = generator.unique(() => generator.guid(), fieldCount)
|
||||||
return keys.reduce((acc, c) => {
|
return keys.reduce((acc, c) => {
|
||||||
acc[c] = generator.word()
|
acc[c] = generator.word()
|
||||||
return acc
|
return acc
|
||||||
|
|
Loading…
Reference in New Issue