bun-match-svg 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -98,7 +98,7 @@ async function toMatchMultipleSvgSnapshots(
|
|
|
98
98
|
|
|
99
99
|
if (!fs.existsSync(filePath) || updateSnapshot) {
|
|
100
100
|
console.log("Writing snapshot to", filePath)
|
|
101
|
-
fs.writeFileSync(filePath, received[index])
|
|
101
|
+
fs.writeFileSync(filePath, received[index] as any)
|
|
102
102
|
passed.push({
|
|
103
103
|
message: `Snapshot ${svgName} created at ${filePath}`,
|
|
104
104
|
pass: true,
|