Skip to content

Commit

Permalink
fix: package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
pleb committed Jun 28, 2022
1 parent 462a49a commit 928c53b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/data-utilities.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
randomString,
randomThingName,
randomUrl,
resetIncrementedNumbers,
} from '../src'

describe('Data utilities', () => {
Expand Down Expand Up @@ -90,7 +91,7 @@ describe('Data utilities', () => {
})
describe('randomEmail', () => {
it('returns a random email', () => {
expect(randomEmail()).toMatch(/^[a-z]+_[a-z]+_[a-z]+@[a-z]+\.[a-z\.]+$/gm)
expect(randomEmail()).toMatch(/^[a-z]+_[a-z]+_[a-z]+@[a-z]+\.[a-z.]+$/gm)
})
})
describe('randomPhoneNumber', () => {
Expand All @@ -101,7 +102,7 @@ describe('Data utilities', () => {
})
describe('randomUrl', () => {
it('returns a random url', () => {
expect(randomUrl()).toMatch(/^[a-z]+-[a-z]+-[a-z]+\.[a-z\.]+$/gm)
expect(randomUrl()).toMatch(/^[a-z]+-[a-z]+-[a-z]+\.[a-z.]+$/gm)
})
})
describe('randomPersonName', () => {
Expand Down

0 comments on commit 928c53b

Please sign in to comment.