@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 CHANGED
@@ -7,6 +7,8 @@
7
7
  TESTOMATIO_JIRA_ID=TST-12 <actual run command>
8
8
  ```
9
9
 
10
+ * Mocha - removed requirement of TESTOMATIO API Key
11
+
10
12
  # 1.0.14
11
13
 
12
14
  * Execute tests by tag names. Use this filter to select tests associated with specific tags.
@@ -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, () => {
@@ -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 = proess.env.TESTOMATIO_JIRA_ID;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.0.15-beta.1",
3
+ "version": "1.0.15",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",