Skip to content

Commit

Permalink
fix: failed unit test because of an invalid mocked request
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe committed Aug 14, 2024
1 parent 52cc703 commit 12d170d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/utils/next_url.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('test composeNextUrlQueryParam', () => {
expect(
composeNextUrlQueryParam(
httpServerMock.createOpenSearchDashboardsRequest({
path: ''
path: '',
}),
''
)
Expand All @@ -37,7 +37,7 @@ describe('test composeNextUrlQueryParam', () => {
expect(
composeNextUrlQueryParam(
httpServerMock.createOpenSearchDashboardsRequest({
path: '/alpha/major/foxtrot'
path: '/alpha/major/foxtrot',
}),
''
)
Expand All @@ -48,7 +48,7 @@ describe('test composeNextUrlQueryParam', () => {
expect(
composeNextUrlQueryParam(
httpServerMock.createOpenSearchDashboardsRequest({
path: ''
path: '',
}),
'xyz'
)
Expand All @@ -59,7 +59,7 @@ describe('test composeNextUrlQueryParam', () => {
expect(
composeNextUrlQueryParam(
httpServerMock.createOpenSearchDashboardsRequest({
path: '/alpha/major/foxtrot'
path: '/alpha/major/foxtrot',
}),
'xyz'
)
Expand Down

0 comments on commit 12d170d

Please sign in to comment.