allure-jasmine
Advanced tools
Comparing version 2.8.1 to 2.9.0
@@ -19,4 +19,4 @@ /// <reference types="node" /> | ||
suiteStarted(suite: jasmine.CustomReporterResult): void; | ||
specStarted(spec: jasmine.CustomReporterResult): void; | ||
specDone(spec: jasmine.CustomReporterResult): void; | ||
specStarted(result: jasmine.SuiteResult): void; | ||
specDone(spec: jasmine.SpecResult): void; | ||
suiteDone(): void; | ||
@@ -23,0 +23,0 @@ jasmineDone(): void; |
@@ -68,3 +68,3 @@ "use strict"; | ||
} | ||
specStarted(spec) { | ||
specStarted(result) { | ||
let currentGroup = this.getCurrentGroup(); | ||
@@ -76,3 +76,3 @@ if (currentGroup === null) { | ||
this.groupStack.push(currentGroup); | ||
const name = spec.description; | ||
const name = result.description; | ||
const allureTest = currentGroup.startTest(name); | ||
@@ -83,4 +83,4 @@ if (this.runningTest != null) { | ||
this.runningTest = allureTest; | ||
allureTest.fullName = spec.fullName; | ||
allureTest.historyId = spec.fullName; | ||
allureTest.fullName = result.fullName; | ||
allureTest.historyId = result.fullName; | ||
allureTest.stage = allure_js_commons_1.Stage.RUNNING; | ||
@@ -87,0 +87,0 @@ for (const labels of this.labelStack) { |
/// <reference types="jasmine" /> | ||
export declare class JasmineConsoleReporter implements jasmine.CustomReporter { | ||
log(message: string): void; | ||
suiteStarted(suite: jasmine.CustomReporterResult): void; | ||
suiteStarted(suite: jasmine.SuiteResult): void; | ||
suiteDone(): void; | ||
specStarted(spec: jasmine.CustomReporterResult): void; | ||
specDone(spec: jasmine.CustomReporterResult): void; | ||
specStarted(spec: jasmine.SpecResult): void; | ||
specDone(spec: jasmine.SpecResult): void; | ||
} |
{ | ||
"name": "allure-jasmine", | ||
"version": "2.8.1", | ||
"version": "2.9.0", | ||
"description": "Allure Jasmine integration", | ||
@@ -23,36 +23,25 @@ "license": "Apache-2.0", | ||
"compile": "tsc", | ||
"generate-report": "allure generate ./out/allure-results -o ./out/allure-report --clean", | ||
"runTest": "tsc -p tsconfig-tests.json && yarn run jasmine ./dist-tests/test/*.js", | ||
"runTestDebug": "node $NODE_DEBUG_OPTION ./node_modules/.bin/jasmine ./dist/test/*.js", | ||
"test": "rimraf ./out ; yarn run runTest ; yarn run generate-report" | ||
"test": "rimraf ./out ; yarn run runTest" | ||
}, | ||
"devDependencies": { | ||
"@types/eslint": "^8", | ||
"@types/jasmine": "^3.3.12", | ||
"@types/node": "^20.6.3", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
"@typescript-eslint/parser": "^6.7.0", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
"eslint-plugin-jsdoc": "^46.6.0", | ||
"eslint-plugin-no-null": "^1.0.2", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
"jasmine": "^3.4.0", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^4.4.2" | ||
"rimraf": "^5.0.1", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"allure-js-commons": "2.8.1" | ||
"allure-js-commons": "2.9.0" | ||
}, | ||
"nyc": { | ||
"check-coverage": false, | ||
"lines": 85, | ||
"statements": 85, | ||
"functions": 85, | ||
"branches": 75, | ||
"extension": [ | ||
".ts" | ||
], | ||
"include": [ | ||
"**/src/**/*" | ||
], | ||
"reporter": [ | ||
"lcov", | ||
"text" | ||
], | ||
"all": true, | ||
"report-dir": "./out/coverage", | ||
"temp-dir": "./out/.nyc" | ||
}, | ||
"files": [ | ||
@@ -59,0 +48,0 @@ "dist" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29527
14
+ Addedallure-js-commons@2.9.0(transitive)
- Removedallure-js-commons@2.8.1(transitive)
Updatedallure-js-commons@2.9.0