@neon-pixels/vitest-preset 0.2.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. 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 `**/e2e/**`, `**/.netlify/**`, `**/.nuxt/**`, and `**/.output/**` on top of Vitest's default exclusions.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-pixels/vitest-preset",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Shared Vitest presets for Neon Pixels Node, VitePress, and Nuxt projects.",
5
5
  "license": "MIT",
6
6
  "type": "module",
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
- "**/e2e/**",
9
+ "e2e/**",
10
10
  "**/.netlify/**",
11
11
  "**/.nuxt/**",
12
12
  "**/.output/**",