Erster Docker-Stand
This commit is contained in:
10
_node_modules/fast-check/lib/arbitrary/constantFrom.js
generated
Normal file
10
_node_modules/fast-check/lib/arbitrary/constantFrom.js
generated
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);
|
||||
}
|
||||
Reference in New Issue
Block a user