UNPKG

shallow-render

Version:

Shallow rendering test utility for Angular

17 lines 399 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MockCache = void 0; class MockCache { constructor() { this._cache = new Map(); } find(key) { return this._cache.get(key); } add(key, value) { this._cache.set(key, value); return value; } } exports.MockCache = MockCache; //# sourceMappingURL=mock-cache.js.map