@abide/harness 0.3.0 → 0.3.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abide/harness",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ratios against hand-written code, counts of the work an op did, and gates whose revert can be run — three measurement lanes for anything that renders, on bun",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@playwright/test": "^1.64.0",
|
|
61
|
-
"@abide/abide": ">=0.
|
|
61
|
+
"@abide/abide": ">=0.119.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
64
|
"@playwright/test": {
|
package/src/engine/traceOp.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
// gated there, where the driver below can only run under `bun run bench`.
|
|
8
8
|
|
|
9
9
|
import type { CDPSession, Page } from '@playwright/test'
|
|
10
|
+
|
|
10
11
|
import type { Trace } from './Trace.ts'
|
|
11
12
|
|
|
12
13
|
// `devtools.timeline` carries Paint and the Layout events; the `disabled-by-default`
|
package/src/measure/index.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// `harness/report` is a FOURTH entry and is not a fourth lane: a lane is a DEPENDENCY
|
|
8
8
|
// partition, and the leaf depends on nothing.
|
|
9
9
|
|
|
10
|
-
import { type Batched, type BatchSpec
|
|
10
|
+
import { batch, type Batched, type BatchSpec } from '../report/batch.ts'
|
|
11
11
|
import { emulatedDom, underBun } from '../report/environment.ts'
|
|
12
12
|
import { install, isArmed } from './install.ts'
|
|
13
13
|
|
package/src/measure/preload.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// members once per case, for the process. `arm()`/`disarm()` swap the record instead,
|
|
9
9
|
// so the prototype shape is fixed for the process lifetime.
|
|
10
10
|
import { GlobalRegistrator } from '@happy-dom/global-registrator'
|
|
11
|
+
|
|
11
12
|
import { install } from './install.ts'
|
|
12
13
|
|
|
13
14
|
// A child spawned with this env would paint its output in ANSI off a pipe (bun's console, and
|
package/src/runner/runSuite.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
// answer available.
|
|
12
12
|
|
|
13
13
|
import { tmpdir } from 'node:os' // bun has no temporary-directory lookup of its own
|
|
14
|
+
|
|
14
15
|
import type { TestCase } from '../rows/index.ts'
|
|
15
16
|
|
|
16
17
|
// A RUNNER THAT IS STOPPED STOPS ITS SUITES. SIGTERM reaches this process and nothing under it, so
|