@inertiaui/vanilla 0.6.0 → 1.0.2
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 +4 -4
- package/dist/index.js +758 -825
- package/package.json +57 -58
package/README.md
CHANGED
|
@@ -1053,7 +1053,7 @@ const isActive = sameUrlPath(window.location.href, linkHref)
|
|
|
1053
1053
|
Start Vite to browse the interactive test pages:
|
|
1054
1054
|
|
|
1055
1055
|
```bash
|
|
1056
|
-
|
|
1056
|
+
pnpm exec vite --port 3333
|
|
1057
1057
|
```
|
|
1058
1058
|
|
|
1059
1059
|
Then open `http://localhost:3333` for an overview linking to all test pages.
|
|
@@ -1063,19 +1063,19 @@ Then open `http://localhost:3333` for an overview linking to all test pages.
|
|
|
1063
1063
|
The test suite uses Playwright with Chromium. It automatically starts a Vite dev server:
|
|
1064
1064
|
|
|
1065
1065
|
```bash
|
|
1066
|
-
|
|
1066
|
+
pnpm test:e2e
|
|
1067
1067
|
```
|
|
1068
1068
|
|
|
1069
1069
|
Run a single spec:
|
|
1070
1070
|
|
|
1071
1071
|
```bash
|
|
1072
|
-
|
|
1072
|
+
pnpm exec playwright test e2e/menu.spec.ts
|
|
1073
1073
|
```
|
|
1074
1074
|
|
|
1075
1075
|
Run tests matching a name:
|
|
1076
1076
|
|
|
1077
1077
|
```bash
|
|
1078
|
-
|
|
1078
|
+
pnpm exec playwright test -g "ArrowDown"
|
|
1079
1079
|
```
|
|
1080
1080
|
|
|
1081
1081
|
### Test structure
|