fix: don't account for empty attributes #1597
Annotations
2 errors
src/detector.impressions.test.ts > don't consider empty attributes:
src/detector.impressions.test.ts#L51
AssertionError: expected [ { type: 'Impression', …(7) } ] to match object []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "additionalProduct": undefined,
+ "bid": "",
+ "id": "0.15350690996701055",
+ "page": "/",
+ "product": undefined,
+ "t": 1728494723247,
+ "type": "Impression",
+ "uid": "0.9892469079973458",
+ },
+ ]
❯ src/detector.impressions.test.ts:51:18
|
test
Process completed with exit code 1.
|