@saucelabs/sauce-json-reporter
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -55,3 +55,3 @@ "use strict"; | ||
computeStatus() { | ||
this.suites.forEach(suite => { | ||
this.suites.forEach((suite) => { | ||
suite.computeStatus(); | ||
@@ -63,3 +63,3 @@ this.status = statusOf(this, suite); | ||
withSuite(name) { | ||
let suite = this.suites.find(suite => suite.name === name); | ||
let suite = this.suites.find((suite) => suite.name === name); | ||
if (!suite) { | ||
@@ -113,7 +113,7 @@ suite = new Suite(name); | ||
computeStatus() { | ||
this.suites.forEach(suite => { | ||
this.suites.forEach((suite) => { | ||
suite.computeStatus(); | ||
this.status = statusOf(this, suite); | ||
}); | ||
this.tests.forEach(test => { | ||
this.tests.forEach((test) => { | ||
this.status = statusOf(this, test); | ||
@@ -124,3 +124,3 @@ }); | ||
withSuite(name) { | ||
let suite = this.suites.find(suite => suite.name === name); | ||
let suite = this.suites.find((suite) => suite.name === name); | ||
if (!suite) { | ||
@@ -127,0 +127,0 @@ suite = new Suite(name); |
{ | ||
"name": "@saucelabs/sauce-json-reporter", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "A library for creating test results in the Sauce Labs JSON format.", | ||
@@ -14,4 +14,6 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"build": "node scripts/rmdir.js lib && tsc", | ||
"lint": "eslint src/", | ||
"build": "npx rimraf lib && tsc", | ||
"lint": "prettier --check '**/*.{js,ts,mjs,cjs}' && eslint src/ tests/", | ||
"fmt": "prettier --write '**/*.{js,ts,mjs,cjs}'", | ||
"prepare": "husky", | ||
"test": "jest", | ||
@@ -30,14 +32,22 @@ "release": "tsc && release-it --github.release", | ||
"devDependencies": { | ||
"@tsconfig/node20": "20.1.2", | ||
"@types/jest": "29.5.5", | ||
"@typescript-eslint/eslint-plugin": "6.7.4", | ||
"@typescript-eslint/parser": "6.7.4", | ||
"@tsconfig/node20": "20.1.4", | ||
"@tsconfig/node22": "^22.0.0", | ||
"@types/jest": "29.5.12", | ||
"@typescript-eslint/eslint-plugin": "^7.12.0", | ||
"@typescript-eslint/parser": "^7.12.0", | ||
"babel-jest": "29.7.0", | ||
"eslint": "8.51.0", | ||
"eslint": "8.56.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-jest": "^28.5.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"husky": "^9.0.11", | ||
"jest": "29.7.0", | ||
"json-schema-library": "9.1.2", | ||
"release-it": "16.2.1", | ||
"ts-jest": "29.1.1", | ||
"typescript": "5.2.2" | ||
"json-schema-library": "9.3.5", | ||
"prettier": "^3.3.1", | ||
"release-it": "17.3.0", | ||
"rimraf": "^5.0.7", | ||
"ts-jest": "29.1.4", | ||
"typescript": "5.4.5", | ||
"typescript-eslint": "^7.12.0" | ||
} | ||
} |
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
15454
19