Skip to content

Commit

Permalink
refactor: update the api client package
Browse files Browse the repository at this point in the history
Support qaseio package version 2.2.0
  • Loading branch information
gibiw committed Jul 16, 2024
1 parent 583b7de commit 438295b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions qase-javascript-commons/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [email protected]

## What's new

Support qaseio package version 2.2.0


# [email protected]

## What's new
Expand Down
4 changes: 2 additions & 2 deletions qase-javascript-commons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qase-javascript-commons",
"version": "2.0.11",
"version": "2.0.12",
"description": "Qase JS Reporters",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -33,7 +33,7 @@
"lodash.merge": "^4.6.2",
"lodash.mergewith": "^4.6.2",
"mime-types": "^2.1.33",
"qaseio": "^2.1.3",
"qaseio": "~2.2.0",
"strip-ansi": "^6.0.1",
"uuid": "^9.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion qase-javascript-commons/src/reporters/testops-reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class TestOpsReporter extends AbstractReporter {
let environmentId: number | undefined;
if (this.environment != undefined) {
try {
const { data } = await this.api.environment.getEnvironments(this.projectCode, 100);
const { data } = await this.api.environment.getEnvironments(this.projectCode, undefined, this.environment, 100);
const env = data.result?.entities?.find((env) => env.slug === this.environment);
if (env) {
environmentId = env.id;
Expand Down

0 comments on commit 438295b

Please sign in to comment.