testlens-playwright-reporter 0.1.6 → 0.1.7

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.
Files changed (3) hide show
  1. package/index.js +0 -4
  2. package/index.ts +0 -4
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -22,10 +22,6 @@ class TestLensReporter {
22
22
  timeout: options.timeout
23
23
  };
24
24
 
25
- if (!this.config.apiEndpoint) {
26
- throw new Error('TEST_API_ENDPOINT is required for TestLensReporter. Set it in environment variable or pass as option.');
27
- }
28
-
29
25
  if (!this.config.apiKey) {
30
26
  throw new Error('API_KEY is required for TestLensReporter. Pass it as apiKey option in your playwright config.');
31
27
  }
package/index.ts CHANGED
@@ -151,10 +151,6 @@ export class TestLensReporter implements Reporter {
151
151
  timeout: options.timeout
152
152
  } as Required<TestLensReporterConfig>;
153
153
 
154
- if (!this.config.apiEndpoint) {
155
- throw new Error('TEST_API_ENDPOINT is required for TestLensReporter. Set it in environment variable or pass as option.');
156
- }
157
-
158
154
  if (!this.config.apiKey) {
159
155
  throw new Error('API_KEY is required for TestLensReporter. Pass it as apiKey option in your playwright config.');
160
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testlens-playwright-reporter",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Universal Playwright reporter for TestLens - works with both TypeScript and JavaScript projects",
5
5
  "main": "lib/index.js",
6
6
  "types": "index.d.ts",