update packer unit test (#220)

This commit is contained in:
Jinxing Lin
2020-05-30 22:48:02 +08:00
committed by GitHub
parent 7d062830ab
commit 0910447081

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