feat: add metadata figma-node-id to snapshots #62
make-checks.yml
on: pull_request
validate_code_style_and_workability
15s
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.
|