Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
8
node_modules/fast-check/lib/arbitrary/json.js
generated
vendored
Normal file
8
node_modules/fast-check/lib/arbitrary/json.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.json = json;
|
||||
const jsonValue_1 = require("./jsonValue");
|
||||
function json(constraints = {}) {
|
||||
const arb = (0, jsonValue_1.jsonValue)(constraints);
|
||||
return arb.map(JSON.stringify);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue