update packer unit test (#220)

This commit is contained in:
Jinxing Lin
2026-04-01 12:00:00 +08:00
committed by GitHub
parent da2ad8b456
commit 5317bf73b9

View File

@@ -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;
});
});