aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/testMocks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/testMocks.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/testMocks.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/testMocks.ts b/server/sonar-web/src/main/js/helpers/testMocks.ts
index d4d2bc5e45e..76f9a528015 100644
--- a/server/sonar-web/src/main/js/helpers/testMocks.ts
+++ b/server/sonar-web/src/main/js/helpers/testMocks.ts
@@ -209,6 +209,7 @@ export function mockIssue(withLocations = false, overrides: Partial<T.Issue> = {
export function mockLocation(overrides: Partial<Location> = {}): Location {
return {
action: 'PUSH',
+ hash: '',
key: 'key',
pathname: '/path',
query: {},