Добавлена ДБ
This commit is contained in:
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);
|
||||
}
|
||||
Reference in New Issue
Block a user