oxmutate 1.2.4 → 1.2.5
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.
|
Binary file
|
package/dist/runner.js
CHANGED
|
@@ -116,9 +116,10 @@ function takeCopy(test) {
|
|
|
116
116
|
const PROBE_ID = '__oxmutate_probe__';
|
|
117
117
|
async function probe(test, fn) {
|
|
118
118
|
const file = test.file?.filepath;
|
|
119
|
-
|
|
119
|
+
const scope = test.suite?.id ?? file;
|
|
120
|
+
if (!file || !scope || probed.has(scope) || runOnce.has(file))
|
|
120
121
|
return;
|
|
121
|
-
probed.add(
|
|
122
|
+
probed.add(scope);
|
|
122
123
|
await afterEach(test, test.context, []);
|
|
123
124
|
const cleanups = await beforeEach(test, test.context);
|
|
124
125
|
ns.currentTestId = PROBE_ID;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxmutate",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Mutation testing for JavaScript and TypeScript on the oxc engine, run warm inside the project's own Vitest, with CI lanes, SARIF and an agent surface. No dependency outside the burgee family. A Stryker migration path.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|