allure-jest 3.0.0-beta.7 → 3.0.0-beta.9
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/dist/cjs/model.js.map +1 -1
- package/dist/esm/model.js.map +1 -1
- package/dist/types/model.d.ts +2 -2
- package/package.json +11 -10
package/dist/cjs/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","names":[],"sources":["../../src/model.ts"],"sourcesContent":["import type { JestEnvironment, JestEnvironmentConfig } from \"@jest/environment\";\nimport type { Config as JestConfig } from \"@jest/types\";\nimport type { RuntimeMessage } from \"allure-js-commons/sdk\";\nimport type {
|
|
1
|
+
{"version":3,"file":"model.js","names":[],"sources":["../../src/model.ts"],"sourcesContent":["import type { JestEnvironment, JestEnvironmentConfig } from \"@jest/environment\";\nimport type { Config as JestConfig } from \"@jest/types\";\nimport type { RuntimeMessage } from \"allure-js-commons/sdk\";\nimport type { ReporterConfig } from \"allure-js-commons/sdk/reporter\";\n\nexport type RunContext = {\n executables: string[];\n steps: string[];\n scopes: string[];\n // TODO: do we need to define the field outside of the RunContext?\n skippedTestsFullNamesByTestPlan: string[];\n};\n\nexport interface AllureJestEnvironment extends JestEnvironment {\n handleAllureRuntimeMessage(message: RuntimeMessage): void;\n}\n\nexport type AllureJestProjectConfig = JestConfig.ProjectConfig & {\n testEnvironmentOptions?: JestConfig.ProjectConfig[\"testEnvironmentOptions\"] & ReporterConfig;\n};\n\nexport type AllureJestConfig = JestEnvironmentConfig & {\n projectConfig: AllureJestProjectConfig;\n};\n"],"mappings":"","ignoreList":[]}
|
package/dist/esm/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","names":[],"sources":["../../src/model.ts"],"sourcesContent":["import type { JestEnvironment, JestEnvironmentConfig } from \"@jest/environment\";\nimport type { Config as JestConfig } from \"@jest/types\";\nimport type { RuntimeMessage } from \"allure-js-commons/sdk\";\nimport type {
|
|
1
|
+
{"version":3,"file":"model.js","names":[],"sources":["../../src/model.ts"],"sourcesContent":["import type { JestEnvironment, JestEnvironmentConfig } from \"@jest/environment\";\nimport type { Config as JestConfig } from \"@jest/types\";\nimport type { RuntimeMessage } from \"allure-js-commons/sdk\";\nimport type { ReporterConfig } from \"allure-js-commons/sdk/reporter\";\n\nexport type RunContext = {\n executables: string[];\n steps: string[];\n scopes: string[];\n // TODO: do we need to define the field outside of the RunContext?\n skippedTestsFullNamesByTestPlan: string[];\n};\n\nexport interface AllureJestEnvironment extends JestEnvironment {\n handleAllureRuntimeMessage(message: RuntimeMessage): void;\n}\n\nexport type AllureJestProjectConfig = JestConfig.ProjectConfig & {\n testEnvironmentOptions?: JestConfig.ProjectConfig[\"testEnvironmentOptions\"] & ReporterConfig;\n};\n\nexport type AllureJestConfig = JestEnvironmentConfig & {\n projectConfig: AllureJestProjectConfig;\n};\n"],"mappings":"","ignoreList":[]}
|
package/dist/types/model.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { JestEnvironment, JestEnvironmentConfig } from "@jest/environment";
|
|
2
2
|
import type { Config as JestConfig } from "@jest/types";
|
|
3
3
|
import type { RuntimeMessage } from "allure-js-commons/sdk";
|
|
4
|
-
import type {
|
|
4
|
+
import type { ReporterConfig } from "allure-js-commons/sdk/reporter";
|
|
5
5
|
export type RunContext = {
|
|
6
6
|
executables: string[];
|
|
7
7
|
steps: string[];
|
|
@@ -12,7 +12,7 @@ export interface AllureJestEnvironment extends JestEnvironment {
|
|
|
12
12
|
handleAllureRuntimeMessage(message: RuntimeMessage): void;
|
|
13
13
|
}
|
|
14
14
|
export type AllureJestProjectConfig = JestConfig.ProjectConfig & {
|
|
15
|
-
testEnvironmentOptions?: JestConfig.ProjectConfig["testEnvironmentOptions"] &
|
|
15
|
+
testEnvironmentOptions?: JestConfig.ProjectConfig["testEnvironmentOptions"] & ReporterConfig;
|
|
16
16
|
};
|
|
17
17
|
export type AllureJestConfig = JestEnvironmentConfig & {
|
|
18
18
|
projectConfig: AllureJestProjectConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "allure-jest",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.9",
|
|
4
4
|
"description": "Allure Jest integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jest",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test": "vitest run"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"allure-js-commons": "3.0.0-beta.
|
|
50
|
+
"allure-js-commons": "3.0.0-beta.9"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@babel/cli": "^7.24.6",
|
|
@@ -57,20 +57,21 @@
|
|
|
57
57
|
"@jest/environment": "^29.7.0",
|
|
58
58
|
"@jest/expect": "^29.7.0",
|
|
59
59
|
"@jest/types": "^29.6.3",
|
|
60
|
+
"@stylistic/eslint-plugin": "^2.6.1",
|
|
60
61
|
"@types/babel__core": "^7",
|
|
61
62
|
"@types/babel__preset-env": "^7",
|
|
62
|
-
"@types/eslint": "^8",
|
|
63
|
+
"@types/eslint": "^8.56.11",
|
|
63
64
|
"@types/node": "^20.14.2",
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
65
|
-
"@typescript-eslint/parser": "^
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
66
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
66
67
|
"allure-commandline": "^2.29.0",
|
|
67
|
-
"allure-vitest": "3.0.0-beta.
|
|
68
|
+
"allure-vitest": "3.0.0-beta.9",
|
|
68
69
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
69
70
|
"eslint": "^8.57.0",
|
|
70
|
-
"eslint-config-prettier": "^9.
|
|
71
|
-
"eslint-plugin-import": "^2.
|
|
72
|
-
"eslint-plugin-jsdoc": "^
|
|
73
|
-
"eslint-plugin-n": "^17.
|
|
71
|
+
"eslint-config-prettier": "^9.1.0",
|
|
72
|
+
"eslint-plugin-import": "^2.29.1",
|
|
73
|
+
"eslint-plugin-jsdoc": "^49.0.0",
|
|
74
|
+
"eslint-plugin-n": "^17.10.1",
|
|
74
75
|
"eslint-plugin-no-null": "^1.0.2",
|
|
75
76
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
76
77
|
"jest-cli": "^29.7.0",
|