@stryker-mutator/dashboard-common 0.15.2-pr-1007.1 → 0.15.2-pr-966.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,4 +18,5 @@ export declare class Slug {
18
18
  */
19
19
  static parse(rawSlug: string | undefined): Slug;
20
20
  }
21
+ export declare function buildReportUrl(slug: string): string;
21
22
  //# sourceMappingURL=slug.d.ts.map
package/dist/src/slug.js CHANGED
@@ -50,4 +50,7 @@ function sanitize(rawSlug) {
50
50
  return rawSlug;
51
51
  }
52
52
  }
53
+ export function buildReportUrl(slug) {
54
+ return `${window.location.origin}/reports/${slug}`;
55
+ }
53
56
  //# sourceMappingURL=slug.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryker-mutator/dashboard-common",
3
- "version": "0.15.2-pr-1007.1",
3
+ "version": "0.15.2-pr-966.8",
4
4
  "type": "module",
5
5
  "description": "This package contains common utilities to be shared between the different dashboard components.",
6
6
  "scripts": {
@@ -22,5 +22,5 @@
22
22
  "dependencies": {
23
23
  "mutation-testing-report-schema": "3.3.0"
24
24
  },
25
- "gitHead": "2defc775d99fe07382376e77839e378cccaf48fd"
25
+ "gitHead": "cc8f387c694ee776684f6d057f0f2ffe96c5ce9f"
26
26
  }