@japa/runner 5.0.0 → 5.1.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.
|
@@ -7,6 +7,7 @@ import string from "@poppinss/string";
|
|
|
7
7
|
import { glob } from "node:fs/promises";
|
|
8
8
|
import Hooks from "@poppinss/hooks";
|
|
9
9
|
import getopts from "getopts";
|
|
10
|
+
import { isRunningInAIAgent } from "@poppinss/utils";
|
|
10
11
|
var debug_default = debuglog("japa:runner");
|
|
11
12
|
var Validator = class {
|
|
12
13
|
ensureIsConfigured(config) {
|
|
@@ -229,7 +230,7 @@ const DEFAULTS = {
|
|
|
229
230
|
forceExit: false,
|
|
230
231
|
plugins: [],
|
|
231
232
|
reporters: {
|
|
232
|
-
activated: ["spec"].concat(process.env.GITHUB_ACTIONS === "true" ? ["github"] : []),
|
|
233
|
+
activated: isRunningInAIAgent() ? ["dot"] : ["spec"].concat(process.env.GITHUB_ACTIONS === "true" ? ["github"] : []),
|
|
233
234
|
list: [
|
|
234
235
|
spec(),
|
|
235
236
|
ndjson(),
|
package/build/factories/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as GlobalHooks, i as CliParser, n as createTestGroup, o as Planner, r as ConfigManager, t as createTest } from "../create_test-
|
|
1
|
+
import { a as GlobalHooks, i as CliParser, n as createTestGroup, o as Planner, r as ConfigManager, t as createTest } from "../create_test-CuTGNCAf.js";
|
|
2
2
|
import { c as Suite, i as Emitter, s as Runner } from "../helpers-BlHaYYTh.js";
|
|
3
3
|
import "../main-CB1nhl6c.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as GlobalHooks, c as debug_default, i as CliParser, n as createTestGroup, o as Planner, r as ConfigManager, s as validator_default, t as createTest } from "./create_test-
|
|
1
|
+
import { a as GlobalHooks, c as debug_default, i as CliParser, n as createTestGroup, o as Planner, r as ConfigManager, s as validator_default, t as createTest } from "./create_test-CuTGNCAf.js";
|
|
2
2
|
import { c as Suite, i as Emitter, r as printPinnedTests, s as Runner, t as colors } from "./helpers-BlHaYYTh.js";
|
|
3
3
|
import "./main-CB1nhl6c.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
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": "5.
|
|
4
|
+
"version": "5.1.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.16.0"
|
|
7
7
|
},
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"@japa/core": "^10.4.0",
|
|
59
59
|
"@japa/errors-printer": "^4.1.4",
|
|
60
60
|
"@poppinss/colors": "^4.1.6",
|
|
61
|
+
"@poppinss/utils": "7.0.0-next.6",
|
|
61
62
|
"@poppinss/hooks": "^7.3.0",
|
|
62
63
|
"@poppinss/string": "^1.7.1",
|
|
63
64
|
"error-stack-parser-es": "^1.0.5",
|