Skip to content

Commit 794442c

Browse files
test(randomString()): use stringOfLengthBetween()).
1 parent 6529d85 commit 794442c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/random-string.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ const toBe = new TestingToBeMatchers();
1414
testing.describe(`randomString()`, () => {
1515
testing
1616
.it(`to 10`, () => toBe.string(randomString(10)))
17-
.it(`between 0 and 19500`, () => toBe.stringOfLength(randomString(19500), { min: 0, max: 19500 }))
17+
.it(`between 0 and 19500`, () => toBe.stringOfLengthBetween(randomString(19500), 0, 19500))
1818
.it(`to be less than 200`, () => expect(randomString(200).length).toBeLessThanOrEqual(200));
1919
});

0 commit comments

Comments
 (0)