@testomatio/reporter 1.0.15-beta.1 → 1.0.15
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 +2 -0
- package/lib/adapter/mocha.js +0 -4
- package/lib/pipe/testomatio.js +1 -1
- package/package.json +1 -1
package/Changelog.md
CHANGED
package/lib/adapter/mocha.js
CHANGED
|
@@ -19,10 +19,6 @@ function MochaReporter(runner, opts) {
|
|
|
19
19
|
|
|
20
20
|
const apiKey = opts?.reporterOptions?.apiKey || process.env.TESTOMATIO;
|
|
21
21
|
|
|
22
|
-
if (!apiKey) {
|
|
23
|
-
debug('TESTOMATIO key is empty, ignoring reports');
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
22
|
const client = new TestomatClient({ apiKey });
|
|
27
23
|
|
|
28
24
|
runner.on(EVENT_RUN_BEGIN, () => {
|
package/lib/pipe/testomatio.js
CHANGED
|
@@ -42,7 +42,7 @@ class TestomatioPipe {
|
|
|
42
42
|
this.isEnabled = true;
|
|
43
43
|
// do not finish this run (for parallel testing)
|
|
44
44
|
this.proceed = process.env.TESTOMATIO_PROCEED;
|
|
45
|
-
this.jiraId =
|
|
45
|
+
this.jiraId = process.env.TESTOMATIO_JIRA_ID;
|
|
46
46
|
this.runId = params.runId || process.env.runId;
|
|
47
47
|
this.createNewTests = params.createNewTests ?? !!process.env.TESTOMATIO_CREATE;
|
|
48
48
|
this.hasUnmatchedTests = false;
|