@japa/runner 4.4.0 → 4.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.
|
@@ -325,6 +325,7 @@ var CliParser = class {
|
|
|
325
325
|
};
|
|
326
326
|
|
|
327
327
|
// src/config_manager.ts
|
|
328
|
+
import { isRunningInAIAgent } from "@poppinss/utils";
|
|
328
329
|
var NOOP = () => {
|
|
329
330
|
};
|
|
330
331
|
var DEFAULTS = {
|
|
@@ -334,7 +335,7 @@ var DEFAULTS = {
|
|
|
334
335
|
forceExit: false,
|
|
335
336
|
plugins: [],
|
|
336
337
|
reporters: {
|
|
337
|
-
activated: ["spec"].concat(process.env.GITHUB_ACTIONS === "true" ? ["github"] : []),
|
|
338
|
+
activated: isRunningInAIAgent() ? ["dot"] : ["spec"].concat(process.env.GITHUB_ACTIONS === "true" ? ["github"] : []),
|
|
338
339
|
list: [spec(), ndjson(), dot(), github()]
|
|
339
340
|
},
|
|
340
341
|
importer: (filePath) => import(filePath.href),
|
package/build/factories/main.js
CHANGED
package/build/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@japa/runner",
|
|
3
3
|
"description": "A simple yet powerful testing framework for Node.js",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.5.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.16.0"
|
|
7
7
|
},
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"@poppinss/colors": "^4.1.5",
|
|
63
63
|
"@poppinss/hooks": "^7.2.6",
|
|
64
64
|
"@poppinss/string": "^1.7.0",
|
|
65
|
+
"@poppinss/utils": "7.0.0-next.6",
|
|
65
66
|
"error-stack-parser-es": "^1.0.5",
|
|
66
67
|
"fast-glob": "^3.3.3",
|
|
67
68
|
"find-cache-directory": "^6.0.0",
|