@stryker-mutator/dashboard-common 0.15.2-pr-1074.0 → 0.15.2-pr-966.4

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-1074.0",
3
+ "version": "0.15.2-pr-966.4",
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": "0dc2506e892de6a76fb946e2af6aa06fa95bce5c"
25
+ "gitHead": "3be6763da49f376dc0c7a4ced2fa12f4665da88a"
26
26
  }