30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.OneToManyMapStar = void 0;
|
|
const vitest_1 = require("vitest");
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
const addMock = vitest_1.vitest.fn();
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
const cloneMock = vitest_1.vitest.fn();
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
const getMock = vitest_1.vitest.fn();
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
const getAllKeysMock = vitest_1.vitest.fn();
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
const removeByRelationMock = vitest_1.vitest.fn();
|
|
class OneToManyMapStar {
|
|
add;
|
|
clone;
|
|
get;
|
|
getAllKeys;
|
|
removeByRelation;
|
|
constructor() {
|
|
this.add = addMock;
|
|
this.clone = cloneMock;
|
|
this.get = getMock;
|
|
this.getAllKeys = getAllKeysMock;
|
|
this.removeByRelation = removeByRelationMock;
|
|
}
|
|
}
|
|
exports.OneToManyMapStar = OneToManyMapStar;
|
|
//# sourceMappingURL=OneToManyMapStar.js.map |