qase-javascript-commons 2.0.0-beta.2 → 2.0.0-beta.3

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/changelog.md CHANGED
@@ -1,3 +1,10 @@
1
+ # qase-javascript-commons@2.0.0-beta.3
2
+
3
+ ## What's new
4
+
5
+ * Changed data type of `fields` and `parameters` in the test result data
6
+ from `Map<string, string>` to `Record<string, string>`.
7
+
1
8
  # qase-javascript-commons@2.0.0-beta.2
2
9
 
3
10
  ## Overview
@@ -8,10 +8,10 @@ export type TestResultType = {
8
8
  run_id: number | null;
9
9
  testops_id: number | number[] | null;
10
10
  execution: TestExecution;
11
- fields: Map<string, string>;
11
+ fields: Record<string, string>;
12
12
  attachments: Attachment[];
13
13
  steps: TestStepType[];
14
- params: Map<string, string>;
14
+ params: Record<string, string>;
15
15
  author: string | null;
16
16
  relations: any[];
17
17
  muted: boolean;
@@ -92,7 +92,7 @@ class TestOpsReporter extends abstract_reporter_1.AbstractReporter {
92
92
  testops_id: Array.isArray(result.testops_id) ? null : result.testops_id,
93
93
  attachments: attachments,
94
94
  steps: steps,
95
- params: {},
95
+ params: result.params,
96
96
  relations: {
97
97
  // suite: {
98
98
  // data: result.suiteTitle ? this.getSuites(result.suiteTitle) : [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qase-javascript-commons",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.3",
4
4
  "description": "Qase JS Reporters",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",