@qanalyzer/forge-jest 1.1.1 → 1.2.0

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/jest.d.ts CHANGED
@@ -16,6 +16,10 @@ export type QaHelpers = {
16
16
  suite(value: string): Promise<void>;
17
17
  fields(values: Record<string, string>): Promise<void>;
18
18
  parameters(values: Record<string, string>): Promise<void>;
19
+ /** Explicit FR43 issue key (preferred over embedding in titles). */
20
+ issueKey(key: string): Promise<void>;
21
+ /** Explicit FR43 issue keys (preferred over embedding in titles). */
22
+ issueKeys(keys: string[]): Promise<void>;
19
23
  ignore(): void;
20
24
  step(name: string, body: StepFn): Promise<void>;
21
25
  attach(attach: QaAttachInput): Promise<void>;
package/dist/jest.js CHANGED
@@ -42,6 +42,12 @@ exports.qa = {
42
42
  async parameters(values) {
43
43
  pushMeta('qa-parameters', values);
44
44
  },
45
+ async issueKey(key) {
46
+ pushMeta('qa-issue-key', key);
47
+ },
48
+ async issueKeys(keys) {
49
+ pushMeta('qa-issue-keys', keys);
50
+ },
45
51
  ignore() {
46
52
  pushMeta('qa-ignore', true);
47
53
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qanalyzer/forge-jest",
3
- "version": "1.1.1",
4
- "description": "QAnalyzer Jest reporter \u2014 ingest or file modes via @qanalyzer/forge-commons",
3
+ "version": "1.2.0",
4
+ "description": "QAnalyzer Jest reporter ingest or file modes via @qanalyzer/forge-commons",
5
5
  "keywords": [
6
6
  "qanalyzer",
7
7
  "jest",