@irtio/testing 0.7.0 → 0.8.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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Room, ClientState, RelayRoom, Scheduler } from '@irtio/client';
|
|
|
4
4
|
import { ProfileSnapshot } from '@irtio/protocol';
|
|
5
5
|
import { RoomCore } from '@irtio/runtime';
|
|
6
6
|
import { TraceEntry, HarnessHost, VisibilityLeak, FakeClock } from '@irtio/runtime/test';
|
|
7
|
-
export { TraceEntry, VisibilityLeak, initMatter, initPhysics } from '@irtio/runtime/test';
|
|
7
|
+
export { TraceEntry, VisibilityLeak, initMatter, initPhysics, initRapier2d } from '@irtio/runtime/test';
|
|
8
8
|
export { M as MatcherResult, P as PredictionBounds, T as TRACE_TAIL, m as matchers, t as toHaveConverged, a as toHaveNoVisibilityLeaks, b as toHaveRejected, c as toStayUnderBandwidth, d as toStayWithinPrediction } from './assertions-Cj1Sejhj.js';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/index.js
CHANGED
|
@@ -450,6 +450,7 @@ var TestRelayHarness = class {
|
|
|
450
450
|
// src/index.ts
|
|
451
451
|
import { initPhysics } from "@irtio/runtime/test";
|
|
452
452
|
import { initMatter } from "@irtio/runtime/test";
|
|
453
|
+
import { initRapier2d } from "@irtio/runtime/test";
|
|
453
454
|
async function testRoom(definition, options = {}) {
|
|
454
455
|
return new TestHarness(definition, options);
|
|
455
456
|
}
|
|
@@ -464,6 +465,7 @@ export {
|
|
|
464
465
|
divergence,
|
|
465
466
|
initMatter,
|
|
466
467
|
initPhysics,
|
|
468
|
+
initRapier2d,
|
|
467
469
|
matchers,
|
|
468
470
|
materialize,
|
|
469
471
|
testRelay,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irtio/testing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "irtio's blessed test API: testRoom() in-process rooms with real client semantics, plus Vitest matchers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@irtio/client": "0.
|
|
27
|
-
"@irtio/
|
|
28
|
-
"@irtio/
|
|
29
|
-
"@irtio/
|
|
30
|
-
"@irtio/server": "0.
|
|
26
|
+
"@irtio/client": "0.8.0",
|
|
27
|
+
"@irtio/runtime": "0.8.0",
|
|
28
|
+
"@irtio/schema": "0.8.0",
|
|
29
|
+
"@irtio/protocol": "0.8.0",
|
|
30
|
+
"@irtio/server": "0.8.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"vitest": ">=3"
|