From 4f8dccc8a39de96b4a5050cd8748f6d546f95cab Mon Sep 17 00:00:00 2001 From: backryun Date: Sat, 8 Aug 2026 19:15:25 +0900 Subject: [PATCH] test(types): use Vitest expectations in tier resolver (#9742) --- open-sse/services/__tests__/tierResolver.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/open-sse/services/__tests__/tierResolver.test.ts b/open-sse/services/__tests__/tierResolver.test.ts index 06836772c3..7f2ce7a9f8 100644 --- a/open-sse/services/__tests__/tierResolver.test.ts +++ b/open-sse/services/__tests__/tierResolver.test.ts @@ -199,10 +199,10 @@ describe("TierResolver", () => { ]); // Observable effect of the cache: the duplicate resolves to the same tier and only // ONE entry is memoized (getTierStats counts cache entries, not classify calls). - assert.equal(results.length, 2); - assert.equal(results[0].tier, results[1].tier); + expect(results).toHaveLength(2); + expect(results[0].tier).toBe(results[1].tier); const stats = getTierStats(); - assert.equal(stats.free + stats.cheap + stats.premium, 1); + expect(stats.free + stats.cheap + stats.premium).toBe(1); }); });