@firsthandjs/testing 0.3.0 → 0.5.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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Mounting, cleanup and leak probes. Deliberately small: Firsthand renders real DO
|
|
|
4
4
|
so the DOM is the API — there is no wrapper object to learn and no query
|
|
5
5
|
language re-implemented on top of `querySelector`.
|
|
6
6
|
|
|
7
|
-
**Documentation:** [guide](https://github.com/firsthandjs/firsthand/blob/main/docs/guide/
|
|
7
|
+
**Documentation:** [guide](https://github.com/firsthandjs/firsthand/blob/main/docs/guide/13-testing.md) · [API reference](https://github.com/firsthandjs/firsthand/blob/main/docs/reference/testing.md) · [all docs](https://github.com/firsthandjs/firsthand/blob/main/docs/README.md)
|
|
8
8
|
|
|
9
9
|
```ts
|
|
10
10
|
import { afterEach } from 'vitest';
|
|
@@ -33,6 +33,6 @@ events and `:hover` all behave differently in a detached tree, and a test that
|
|
|
33
33
|
only passes detached is a test of something else.
|
|
34
34
|
|
|
35
35
|
Full guide, including Vitest environments and Playwright:
|
|
36
|
-
[the testing guide](../../docs/guide/
|
|
36
|
+
[the testing guide](../../docs/guide/13-testing.md).
|
|
37
37
|
|
|
38
38
|
MIT licensed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firsthandjs/testing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Test helpers for Firsthand: mounting, cleanup and leak probes. Works with any runner.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"LICENSE"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@firsthandjs/core": "0.
|
|
23
|
-
"@firsthandjs/dom": "0.
|
|
22
|
+
"@firsthandjs/core": "0.5.0",
|
|
23
|
+
"@firsthandjs/dom": "0.5.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=20.11.0"
|