fix: don't account for empty attributes #1596
Annotations
4 errors
format:
src/detector.impressions.test.ts#L1
File content differs from formatting output
|
Biome Lint
Process completed with exit code 1.
|
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.5131017924514547",
+ "page": "/",
+ "product": undefined,
+ "t": 1728494430587,
+ "type": "Impression",
+ "uid": "0.36531875738500563",
+ },
+ ]
❯ src/detector.impressions.test.ts:51:18
|
test
Process completed with exit code 1.
|