Created
August 4, 2021 05:14
-
-
Save YonatanKra/e43b91e2443da2be12a020a9981c3c6e to your computer and use it in GitHub Desktop.
Snapshot of our simple canvas test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Jest Snapshot v1, https://goo.gl/fbAQLP | |
exports[`draw should draw a house on the canvas using the main ctx 1`] = ` | |
Array [ | |
Object { | |
"props": Object { | |
"value": "#808080", | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "fillStyle", | |
}, | |
Object { | |
"props": Object { | |
"fillRule": "nonzero", | |
"path": Array [], | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "fill", | |
}, | |
Object { | |
"props": Object { | |
"fillRule": "nonzero", | |
"path": Array [], | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "fill", | |
}, | |
Object { | |
"props": Object { | |
"value": "#ffffff", | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "fillStyle", | |
}, | |
Object { | |
"props": Object { | |
"fillRule": "nonzero", | |
"path": Array [], | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "fill", | |
}, | |
Object { | |
"props": Object { | |
"value": 2, | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "lineWidth", | |
}, | |
Object { | |
"props": Object { | |
"value": "#ffff00", | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "strokeStyle", | |
}, | |
Object { | |
"props": Object { | |
"path": Array [], | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "stroke", | |
}, | |
Object { | |
"props": Object { | |
"path": Array [], | |
}, | |
"transform": Array [ | |
1, | |
0, | |
0, | |
1, | |
0, | |
0, | |
], | |
"type": "stroke", | |
}, | |
] | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment