@lunora/testing 1.0.0-alpha.18 → 1.0.0-alpha.181
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/LICENSE.md +6 -0
- package/README.md +8 -2
- package/dist/index.d.mts +665 -185
- package/dist/index.d.ts +665 -185
- package/dist/index.mjs +1 -2
- package/dist/packem_shared/agentHarness-DA9onGVO.mjs +1 -0
- package/dist/packem_shared/containsScorer-DoLfFOs6.mjs +2 -0
- package/dist/packem_shared/evaluationAttributes-CYLgTP1P.mjs +1 -0
- package/dist/packem_shared/groundednessScorer-kgXJCZDg.mjs +3 -0
- package/dist/packem_shared/lunoraTest-DG9YgGp-.mjs +1 -0
- package/dist/playwright.d.mts +126 -0
- package/dist/playwright.d.ts +126 -0
- package/dist/playwright.mjs +1 -0
- package/package.json +19 -4
- package/dist/packem_shared/lunoraTest-Dm9lhBEx.mjs +0 -422
package/LICENSE.md
CHANGED
|
@@ -103,3 +103,9 @@ Unless required by applicable law or agreed to in writing, software distributed
|
|
|
103
103
|
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
104
104
|
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
105
105
|
specific language governing permissions and limitations under the License.
|
|
106
|
+
|
|
107
|
+
<!-- DEPENDENCIES -->
|
|
108
|
+
<!-- /DEPENDENCIES -->
|
|
109
|
+
|
|
110
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
111
|
+
<!-- /TYPE_DEPENDENCIES -->
|
package/README.md
CHANGED
|
@@ -167,8 +167,14 @@ The virtual clock is **per-harness** — advancing one harness's clock does not
|
|
|
167
167
|
affect other harnesses, so tests running in parallel are isolated.
|
|
168
168
|
|
|
169
169
|
Provide a `functions` map (`{ "path:name": registeredFn }`) so the scheduler
|
|
170
|
-
can dispatch jobs.
|
|
171
|
-
|
|
170
|
+
can dispatch jobs. A path not in the map fails the job with `FUNCTION_NOT_FOUND`,
|
|
171
|
+
which then walks the retry budget into `t.scheduler.failures()` — matching
|
|
172
|
+
production, where the DO fires the job at the Worker and dead-letters it.
|
|
173
|
+
|
|
174
|
+
A retryable failure is re-enqueued silently, so `failures()` only fills once the
|
|
175
|
+
whole backoff schedule (~930s of virtual clock) has elapsed — and at that point
|
|
176
|
+
`advance()`/`runPending()` re-throw the failure by default. Pass
|
|
177
|
+
`{ throwOnError: false }` to inspect `failures()` instead.
|
|
172
178
|
|
|
173
179
|
#### Subscription testing
|
|
174
180
|
|