Skip to content

fix: don't account for empty attributes #1596

fix: don't account for empty attributes

fix: don't account for empty attributes #1596

Triggered via pull request October 9, 2024 17:20
Status Failure
Total duration 34s
Artifacts

checkpr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.