update packer unit test (#220)
This commit is contained in:
@@ -13,7 +13,8 @@ const event: eventWithTime = {
|
|||||||
describe('pack', () => {
|
describe('pack', () => {
|
||||||
it('can pack event', () => {
|
it('can pack event', () => {
|
||||||
const packedData = pack(event);
|
const packedData = pack(event);
|
||||||
matchSnapshot(packedData, __filename, 'pack');
|
const result = matchSnapshot(packedData, __filename, 'pack');
|
||||||
|
expect(result.pass).to.true;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user