Initial commit

This commit is contained in:
Brian McGonagill 2026-03-18 09:02:21 -05:00
commit b3a51a4115
10336 changed files with 2381973 additions and 0 deletions

25
node_modules/fast-check/lib/arbitrary/context.js generated vendored Normal file
View file

@ -0,0 +1,25 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.context = context;
const symbols_1 = require("../check/symbols");
const constant_1 = require("./constant");
class ContextImplem {
constructor() {
this.receivedLogs = [];
}
log(data) {
this.receivedLogs.push(data);
}
size() {
return this.receivedLogs.length;
}
toString() {
return JSON.stringify({ logs: this.receivedLogs });
}
[symbols_1.cloneMethod]() {
return new ContextImplem();
}
}
function context() {
return (0, constant_1.constant)(new ContextImplem());
}