add an example uuid test
This commit is contained in:
parent
9aa8db5d11
commit
a0ce6c579d
|
@ -1,4 +1,4 @@
|
|||
import { integer } from 'fast-check';
|
||||
import { integer, uuid } from 'fast-check';
|
||||
|
||||
import { over } from '../src/index';
|
||||
|
||||
|
@ -8,4 +8,10 @@ describe('some foo', () => {
|
|||
return bar < 1_000;
|
||||
});
|
||||
});
|
||||
|
||||
over('some IDs', uuid(), (it) => {
|
||||
it('should be a good one', (id: string) => {
|
||||
return id[9] !== 'a';
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue