normalize cache constructors and detect duplicate cache names
This commit is contained in:
parent
151550602c
commit
8271dc199e
18 changed files with 95 additions and 61 deletions
|
|
@ -6,7 +6,9 @@
|
|||
import { jest } from '@jest/globals';
|
||||
import { GodOfTimeService } from '../../misc/GodOfTimeService.js';
|
||||
import { MockInternalEventService } from '../../misc/MockInternalEventService.js';
|
||||
import { QuantumKVCache, QuantumKVOpts, FetchFailedError, KeyNotFoundError } from '@/misc/QuantumKVCache.js';
|
||||
import { QuantumKVCache, QuantumKVOpts } from '@/misc/QuantumKVCache.js';
|
||||
import { KeyNotFoundError } from '@/misc/errors/KeyNotFoundError.js';
|
||||
import { FetchFailedError } from '@/misc/errors/FetchFailedError.js';
|
||||
|
||||
describe(QuantumKVCache, () => {
|
||||
let fakeTimeService: GodOfTimeService;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue