MCPcopy Create free account
hub / github.com/denoland/std / ttl_cache_test.ts

File ttl_cache_test.ts

cache/ttl_cache_test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Copyright 2018-2026 the Deno authors. MIT license.
2import { TtlCache } from "./ttl_cache.ts";
3import { assertEquals, assertThrows } from "@std/assert";
4import { FakeTime } from "@std/testing/time";

Callers

nothing calls this directly

Calls 11

assertEqualsFunction · 0.90
assertThrowsFunction · 0.90
assertEntriesFunction · 0.85
setMethod · 0.65
deleteMethod · 0.65
clearMethod · 0.65
getMethod · 0.65
hasMethod · 0.65
stepMethod · 0.45
pushMethod · 0.45
peekMethod · 0.45

Tested by

no test coverage detected