diff --git a/.gitignore b/.gitignore
index ed7f567..71c0418 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,7 @@
.DS_Store
+.idea/
+*~
+.*.swp
node_modules/
lib/
examples/bundle.js
diff --git a/src/__test__/__snapshots__/index.test.tsx.snap b/src/__test__/__snapshots__/index.test.tsx.snap
index 5dc1730..ec274bd 100644
--- a/src/__test__/__snapshots__/index.test.tsx.snap
+++ b/src/__test__/__snapshots__/index.test.tsx.snap
@@ -78,6 +78,31 @@ exports[`Canvas rendering renders Canvas variation ({
]
`;
+exports[`Canvas rendering renders Canvas variation ({
+ imageSettings: {
+ src: 'https://static.zpao.com/favicon.png',
+ x: undefined,
+ y: undefined,
+ height: 24,
+ width: 24,
+ excavate: false
+ },
+ cellSize: 8
+}) correctly 1`] = `
+[
+ ,
+
,
+]
+`;
+
exports[`Canvas rendering renders Canvas variation ({
imageSettings: {
src: 'https://static.zpao.com/favicon.png',
@@ -102,6 +127,31 @@ exports[`Canvas rendering renders Canvas variation ({
]
`;
+exports[`Canvas rendering renders Canvas variation ({
+ imageSettings: {
+ src: 'https://static.zpao.com/favicon.png',
+ x: undefined,
+ y: undefined,
+ height: 24,
+ width: 24,
+ excavate: true
+ },
+ cellSize: 8
+}) correctly 1`] = `
+[
+ ,
+
,
+]
+`;
+
exports[`Canvas rendering renders Canvas variation ({
imageSettings: {
src: 'https://static.zpao.com/favicon.png',
@@ -205,6 +255,28 @@ exports[`Canvas rendering renders Canvas variation ({
]
`;
+exports[`Canvas rendering renders Canvas variation ({ cellSize: 1 }) correctly 1`] = `
+[
+ ,
+]
+`;
+
+exports[`Canvas rendering renders Canvas variation ({ cellSize: 48 }) correctly 1`] = `
+[
+ ,
+]
+`;
+
exports[`Canvas rendering renders Canvas variation ({ includeMargin: false }) correctly 1`] = `
[