We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580246e commit 69a84d2Copy full SHA for 69a84d2
1 file changed
test/unique.spec.ts
@@ -109,7 +109,7 @@ describe('unique', () => {
109
maxRetries: 9999,
110
exclude: ['https', 'http'],
111
});
112
- }).toThrowError(/Exceeded maxTime:/);
+ }).toThrowError(/^Exceeded maxTime:/);
113
114
115
it('should be possible to limit unique call by maxRetries', () => {
@@ -119,7 +119,7 @@ describe('unique', () => {
119
maxRetries: 5,
120
121
122
- }).toThrowError(/Exceeded maxRetries:/);
+ }).toThrowError(/^Exceeded maxRetries:/);
123
124
125
it('should throw a FakerError instance on error', () => {
0 commit comments