Skip to content

feat: add metadata figma-node-id to snapshots #62

feat: add metadata figma-node-id to snapshots

feat: add metadata figma-node-id to snapshots #62

Triggered via pull request July 14, 2024 00:49
Status Failure
Total duration 24s
Artifacts

make-checks.yml

on: pull_request
validate_code_style_and_workability
15s
validate_code_style_and_workability
Fit to window
Zoom out
Zoom in

Annotations

5 errors
error: expect(received).toMatchSnapshot(expected): src/index.test.ts#L59
Expected: { "entityType": "NODE", "name": "Some Node", "nodeType": "ELLIPSE", } Received: { "entityType": "NODE", "metadata": "{"figmaNodeId":"some-id"}", "name": "Some Node", "nodeType": "ELLIPSE", } at /home/runner/work/figma-binding/figma-binding/src/index.test.ts:59:20
error: expect(received).toMatchSnapshot(expected): src/index.test.ts#L77
Expected: { "entityType": "NODE", "name": "Some Node", "nodeType": "ELLIPSE", } Received: { "entityType": "NODE", "metadata": "{"figmaNodeId":"some-id"}", "name": "Some Node", "nodeType": "ELLIPSE", } at /home/runner/work/figma-binding/figma-binding/src/index.test.ts:77:20
error: expect(received).toMatchSnapshot(expected): src/index.test.ts#L94
Expected: { "entityType": "NODE", "name": "Some Node", "nodeType": "ELLIPSE", } Received: { "entityType": "NODE", "metadata": "{"figmaNodeId":"some-id"}", "name": "Some Node", "nodeType": "ELLIPSE", } at /home/runner/work/figma-binding/figma-binding/src/index.test.ts:94:20
error: expect(received).toMatchSnapshot(expected): src/index.test.ts#L113
Expected: { "entityType": "NODE", "initialNodeId": "initial-test-node", "name": "Some Node", "nodeType": "ELLIPSE", } Received: { "entityType": "NODE", "initialNodeId": "initial-test-node", "metadata": "{"figmaNodeId":"some-id"}", "name": "Some Node", "nodeType": "ELLIPSE", } at /home/runner/work/figma-binding/figma-binding/src/index.test.ts:113:20
validate_code_style_and_workability
Process completed with exit code 1.