vitest-browser-vue 0.0.1 → 0.1.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 (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # vitest-browser-vue
2
2
 
3
- Render Vue components in Vitest Browser Mode. This library follows `testing-library` principles and exposes only [locators](https://vitest.dev/guide/browser/locators) and utilities that encourage you to write tests that closely resemble how your Vue components are used.
3
+ Render Vue components in Vitest Browser Mode. This library follows [`testing-library` principles](https://testing-library.com/docs/guiding-principles/) and exposes only [locators](https://vitest.dev/guide/browser/locators) and utilities that encourage you to write tests that closely resemble how your Vue components are used.
4
4
 
5
5
  Requires `vitest` and `@vitest/browser` 2.1.0 or higher.
6
6
 
@@ -33,6 +33,10 @@ export default defineConfig({
33
33
  // "compilerOptions.types" in your tsconfig or
34
34
  // import `vitest-browser-vue` manually so TypeScript can pick it up
35
35
  setupFiles: ['vitest-browser-vue'],
36
+ browser: {
37
+ name: 'chromium',
38
+ enabled: true,
39
+ },
36
40
  },
37
41
  })
38
42
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitest-browser-vue",
3
3
  "type": "module",
4
- "version": "0.0.1",
4
+ "version": "0.1.0",
5
5
  "description": "Render Vue components in Vitest Browser Mode",
6
6
  "author": "Vitest Team",
7
7
  "license": "MIT",
@@ -42,8 +42,8 @@
42
42
  "node": "^18.0.0 || >=20.0.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@vitest/browser": "^2.1.0-beta.4",
46
- "vitest": "^2.1.0-beta.4",
45
+ "@vitest/browser": "^2.1.0 || ^3.0.0-0",
46
+ "vitest": "^2.1.0 || ^3.0.0-0",
47
47
  "vue": "^3.0.0"
48
48
  },
49
49
  "dependencies": {
@@ -52,7 +52,7 @@
52
52
  "devDependencies": {
53
53
  "@antfu/eslint-config": "^2.24.1",
54
54
  "@vitejs/plugin-vue": "^5.1.2",
55
- "@vitest/browser": "^2.1.0-beta.4",
55
+ "@vitest/browser": "^3.0.0",
56
56
  "bumpp": "^9.4.2",
57
57
  "changelogithub": "^0.13.9",
58
58
  "eslint": "^9.8.0",
@@ -60,7 +60,7 @@
60
60
  "tsup": "^8.2.4",
61
61
  "tsx": "^4.16.5",
62
62
  "typescript": "^5.5.4",
63
- "vitest": "^2.1.0-beta.4",
63
+ "vitest": "^3.0.0",
64
64
  "vue": "^3.4.35",
65
65
  "zx": "^8.1.4"
66
66
  },