diff --git a/test/modules/string.spec.ts b/test/modules/string.spec.ts index e2e5ad5b372..ccb6bde0640 100644 --- a/test/modules/string.spec.ts +++ b/test/modules/string.spec.ts @@ -764,7 +764,7 @@ describe('string', () => { describe(`ulid`, () => { it('generates a valid ULID', () => { const ulid = faker.string.ulid(); - const regex = /^[0-2][0-9A-HJKMNP-TV-Z]{25}$/; + const regex = /^[0-7][0-9A-HJKMNP-TV-Z]{25}$/; expect(ulid).toMatch(regex); }); });