Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
10
node_modules/fast-check/lib/arbitrary/constantFrom.js
generated
vendored
Normal file
10
node_modules/fast-check/lib/arbitrary/constantFrom.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.constantFrom = constantFrom;
|
||||
const ConstantArbitrary_1 = require("./_internals/ConstantArbitrary");
|
||||
function constantFrom(...values) {
|
||||
if (values.length === 0) {
|
||||
throw new Error('fc.constantFrom expects at least one parameter');
|
||||
}
|
||||
return new ConstantArbitrary_1.ConstantArbitrary(values);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue