diff --git a/package-lock.json b/package-lock.json index 8af80643..f01adb41 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,6 +54,7 @@ "devDependencies": { "@pinia/testing": "^0.1.3", "@vitest/coverage-c8": "^0.33.0", + "@vitest/coverage-v8": "^0.34.6", "@vue/test-utils": "^2.4.2", "browser-sync": "^2.29.3", "jsdom": "^22.1.0", @@ -2512,6 +2513,31 @@ "vitest": ">=0.30.0 <1" } }, + "node_modules/@vitest/coverage-v8": { + "version": "0.34.6", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-0.34.6.tgz", + "integrity": "sha512-fivy/OK2d/EsJFoEoxHFEnNGTg+MmdZBAVK9Ka4qhXR2K3J0DS08vcGVwzDtXSuUMabLv4KtPcpSKkcMXFDViw==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.1", + "@bcoe/v8-coverage": "^0.2.3", + "istanbul-lib-coverage": "^3.2.0", + "istanbul-lib-report": "^3.0.1", + "istanbul-lib-source-maps": "^4.0.1", + "istanbul-reports": "^3.1.5", + "magic-string": "^0.30.1", + "picocolors": "^1.0.0", + "std-env": "^3.3.3", + "test-exclude": "^6.0.0", + "v8-to-istanbul": "^9.1.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "vitest": ">=0.32.0 <1" + } + }, "node_modules/@vitest/expect": { "version": "0.34.6", "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.6.tgz", @@ -5894,6 +5920,20 @@ "node": ">=10" } }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/istanbul-reports": { "version": "3.1.6", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", diff --git a/package.json b/package.json index 050653e3..83059440 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "devDependencies": { "@pinia/testing": "^0.1.3", "@vitest/coverage-c8": "^0.33.0", + "@vitest/coverage-v8": "^0.34.6", "@vue/test-utils": "^2.4.2", "browser-sync": "^2.29.3", "jsdom": "^22.1.0", diff --git a/resources/js/forms/classic/interactions/__snapshots__/ButtonAction.test.ts.snap b/resources/js/forms/classic/interactions/__snapshots__/ButtonAction.test.ts.snap index 98c1e331..a20bb2ba 100644 --- a/resources/js/forms/classic/interactions/__snapshots__/ButtonAction.test.ts.snap +++ b/resources/js/forms/classic/interactions/__snapshots__/ButtonAction.test.ts.snap @@ -1,4 +1,4 @@ -// Vitest Snapshot v1 +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`ButtonAction > should mount correctly 1`] = ` "