@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),
@@ -5,7 +5,7 @@ import {
5
5
  Planner,
6
6
  createTest,
7
7
  createTestGroup
8
- } from "../chunk-TLYU3GFT.js";
8
+ } from "../chunk-WNJXMFYL.js";
9
9
  import "../chunk-RFKFNXTE.js";
10
10
  import {
11
11
  Emitter,
package/build/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  createTestGroup,
8
8
  debug_default,
9
9
  validator_default
10
- } from "./chunk-TLYU3GFT.js";
10
+ } from "./chunk-WNJXMFYL.js";
11
11
  import "./chunk-RFKFNXTE.js";
12
12
  import {
13
13
  Emitter,
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.0",
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",