tauri-kargo-tools 0.3.3 → 0.3.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/package.json +1 -1
- package/src/test.ts +1 -1
- package/src/types.ts +1 -0
package/package.json
CHANGED
package/src/test.ts
CHANGED
|
@@ -355,7 +355,7 @@ export async function assertEqualsSnapshot(actual: unknown, name: string, msg?:
|
|
|
355
355
|
try {
|
|
356
356
|
const response = await fetch(`/test/snapshot/${name}.json`)
|
|
357
357
|
if (response.status === 404) {
|
|
358
|
-
const updateSnapshot: UpdateSnapshot = { type: "snapshot", value: actual }
|
|
358
|
+
const updateSnapshot: UpdateSnapshot = { type: "snapshot", value: actual ,name:name}
|
|
359
359
|
if (self) {
|
|
360
360
|
self.postMessage(updateSnapshot)
|
|
361
361
|
return
|