1
0

move QuantumKVCache to a separate file

This commit is contained in:
Hazelnoot
2025-06-06 12:26:43 -04:00
parent 633b64e5c3
commit 0c84d73294
8 changed files with 326 additions and 318 deletions
@@ -5,7 +5,7 @@
import { jest } from '@jest/globals';
import { FakeInternalEventService } from '../../misc/FakeInternalEventService.js';
import { QuantumKVCache, QuantumKVOpts } from '@/misc/cache.js';
import { QuantumKVCache, QuantumKVOpts } from '@/misc/QuantumKVCache.js';
describe(QuantumKVCache, () => {
let fakeInternalEventService: FakeInternalEventService;
@@ -456,7 +456,6 @@ describe(QuantumKVCache, () => {
expect(cache.has('alpha')).toBe(true);
});
it('should not emit event', () => {
const cache = makeCache({
name: 'fake',