@neon-pixels/vitest-preset 0.3.0 → 0.4.0
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/README.md +1 -1
- package/package.json +1 -1
- package/shared.js +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ The presets take no options. Aliases, `include` globs, and setup files belong to
|
|
|
49
49
|
|
|
50
50
|
The `vitepress` and `nuxt` presets already register `@vitejs/plugin-vue`. Do not add it again in your own config, or `.vue` files are transformed twice.
|
|
51
51
|
|
|
52
|
-
Every preset excludes
|
|
52
|
+
Every preset excludes `e2e/**` (the root-level Playwright directory only), `**/.netlify/**`, `**/.nuxt/**`, and `**/.output/**` on top of Vitest's default exclusions. A nested directory such as `tests/e2e/` is still collected, so unit tests that live there run. If your Playwright specs live somewhere other than the root `e2e/` directory, add your own `exclude` entry for them.
|
|
53
53
|
|
|
54
54
|
### The `Comment` and `Text` global fix
|
|
55
55
|
|
package/package.json
CHANGED
package/shared.js
CHANGED
|
@@ -6,7 +6,7 @@ import { configDefaults } from "vitest/config";
|
|
|
6
6
|
// `.netlify/plugins/node_modules`, which a bare "node_modules" would miss.
|
|
7
7
|
export const exclude = [
|
|
8
8
|
...configDefaults.exclude,
|
|
9
|
-
"
|
|
9
|
+
"e2e/**",
|
|
10
10
|
"**/.netlify/**",
|
|
11
11
|
"**/.nuxt/**",
|
|
12
12
|
"**/.output/**",
|