From 5317bf73b9ca1b6d73fbe39bee22bd683be42a91 Mon Sep 17 00:00:00 2001 From: Jinxing Lin <172601673@qq.com> Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] update packer unit test (#220) --- test/packer.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/packer.test.ts b/test/packer.test.ts index b69c340c..7b4dda54 100644 --- a/test/packer.test.ts +++ b/test/packer.test.ts @@ -13,7 +13,8 @@ const event: eventWithTime = { describe('pack', () => { it('can pack event', () => { const packedData = pack(event); - matchSnapshot(packedData, __filename, 'pack'); + const result = matchSnapshot(packedData, __filename, 'pack'); + expect(result.pass).to.true; }); });