All tests are passed but --coverage
fails.
#5310
-
I'm integrating with SonarQube, so I'm trying to extract coverage information. Both The error message is:
(here is the code calling Are there any suspicious codes to look? My System info:
import {defineConfig} from "vite";
import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
import dts from "vite-plugin-dts";
import autoprefixer from "autoprefixer";
import PrefixWrap from "postcss-prefixwrap";
export default defineConfig({
return {
plugins: [react(), tsconfigPaths(), dts({exclude: ["**/*.test.ts"]})],
build: {
lib: {
entry: "./src/index.tsx",
formats: ["es"],
fileName: "index",
},
},
css: {
postcss: {
plugins: [
autoprefixer,
PrefixWrap(".aaaa", {
ignoredSelectors: [":root", ".bbbb"],
blacklist: ["./cccc/index.scss"],
}),
],
},
},
};
}); And I'm using |
Beta Was this translation helpful? Give feedback.
Answered by
AriPerkkio
Feb 28, 2024
Replies: 1 comment 1 reply
-
Update your |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ygnoh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update your
vitest
package to latest version.