@testpulse.run/reporter 0.1.4 → 0.1.6

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/README.md CHANGED
@@ -24,6 +24,8 @@ export default defineConfig({
24
24
  });
25
25
  ```
26
26
 
27
+ The reporter defaults to `https://app.testpulse.run`.
28
+
27
29
  ## Auto Live Capture
28
30
 
29
31
  ```ts
@@ -1,6 +1,10 @@
1
- const defaultEndpoint = "https://testpulse.mevodo.com";
1
+ const productionEndpoint = "https://app.testpulse.run";
2
2
  export function resolveTestPulseEndpoint(endpoint) {
3
- return trimTrailingSlash(trim(endpoint) ?? defaultEndpoint);
3
+ const trimmed = trim(endpoint);
4
+ if (!trimmed) {
5
+ return productionEndpoint;
6
+ }
7
+ return trimTrailingSlash(trimmed);
4
8
  }
5
9
  function trim(value) {
6
10
  const trimmed = value?.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testpulse.run/reporter",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Playwright reporter for streaming TestPulse runs and optional live browser capture",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -53,8 +53,7 @@
53
53
  "@playwright/test": ">=1.40.0"
54
54
  },
55
55
  "dependencies": {
56
- "ffmpeg-static": "^5.3.0",
57
- "mv-testpulse-demo": "file:../../demo"
56
+ "ffmpeg-static": "^5.3.0"
58
57
  },
59
58
  "devDependencies": {
60
59
  "@playwright/test": "^1.54.2",