perf: trim vitest hot imports and refresh manifests

This commit is contained in:
Peter Steinberger
2026-03-23 05:25:01 +00:00
parent 7fcbf383d8
commit af9de86286
12 changed files with 1056 additions and 1088 deletions

View File

@@ -0,0 +1,18 @@
import { describe, expect, it } from "vitest";
import { matchesHotspotSummaryLane } from "../../scripts/test-update-memory-hotspots-utils.mjs";
describe("test-update-memory-hotspots lane matching", () => {
it("matches the exact target lane", () => {
expect(matchesHotspotSummaryLane("unit-fast", "unit-fast")).toBe(true);
});
it("matches configured lane prefixes", () => {
expect(matchesHotspotSummaryLane("unit-chat-memory-isolated", "unit-fast", ["unit-"])).toBe(
true,
);
});
it("rejects unrelated lanes", () => {
expect(matchesHotspotSummaryLane("extensions", "unit-fast", ["unit-"])).toBe(false);
});
});