Skip to content

Commit

Permalink
Merge branch 'master' into parameterise-truststore-bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-szlapa authored Oct 1, 2024
2 parents d6c7382 + c7494a7 commit d0be35d
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 60 deletions.
98 changes: 49 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"devDependencies": {
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"eslint": "^9.11.1",
"eslint-plugin-import-newlines": "^1.4.0",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/coordinator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/mustache": "^4.2.5",
"@types/uuid": "^10.0.0",
"@types/xml-c14n": "^0.0.3",
"axios-mock-adapter": "^1.22.0",
"axios-mock-adapter": "^2.0.0",
"jest-expect-message": "^1.1.3",
"ts-node-dev": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tool/site/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/react-dom": "^18.3.0",
"@types/uuid": "^10.0.0",
"@types/webpack": "^5.28.5",
"axios-mock-adapter": "^1.22.0",
"axios-mock-adapter": "^2.0.0",
"babel-loader": "^9.2.1",
"css-loader": "^7.1.2",
"eslint-plugin-react": "^7.37.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ test("Displays a message if summary search returns no results", async () => {
total: 0,
entry: []
}
mock.onAny(taskTrackerBaseUrl, taskTrackerBaseUrl).reply(200, emptyBundle)
mock.onAny(taskTrackerBaseUrl).reply(200, emptyBundle)

const container = await renderPage()
await enterNhsNumber()
Expand All @@ -157,7 +157,7 @@ test("Displays an error message if summary search returns an error", async () =>
diagnostics: "Invalid query parameters."
}]
}
mock.onAny(taskTrackerBaseUrl, taskTrackerBaseUrl).reply(400, errorResponse)
mock.onAny(taskTrackerBaseUrl).reply(400, errorResponse)

const container = await renderPage()
await enterNhsNumber()
Expand All @@ -168,7 +168,7 @@ test("Displays an error message if summary search returns an error", async () =>
})

test("Displays an error message if summary search returns invalid response", async () => {
mock.onAny(taskTrackerBaseUrl, taskTrackerBaseUrl).reply(500, null)
mock.onAny(taskTrackerBaseUrl).reply(500, null)

const container = await renderPage()
await enterNhsNumber()
Expand All @@ -179,7 +179,7 @@ test("Displays an error message if summary search returns invalid response", asy
})

test("Clicking back from the summary search results returns to the form", async () => {
mock.onAny(taskTrackerBaseUrl, taskTrackerBaseUrl).reply(200, summarySearchResult)
mock.onAny(taskTrackerBaseUrl).reply(200, summarySearchResult)

const container = await renderPage()
await enterNhsNumber()
Expand All @@ -203,7 +203,7 @@ test("Displays loading text while performing a detail search", async () => {
})

test("Displays results if detail search completes successfully without previous dispenses", async () => {
mock.onAny(taskTrackerBaseUrl, taskTrackerBaseUrl)
mock.onAny(taskTrackerBaseUrl)
.replyOnce(200, summarySearchResult)
.onAny(taskTrackerBaseUrl)
.reply(200, detailSearchResult)
Expand All @@ -223,7 +223,7 @@ test("Displays results if detail search completes successfully without previous
})

test("Displays results if detail search completes successfully with previous dispenses", async () => {
mock.onAny(taskTrackerBaseUrl, taskTrackerBaseUrl)
mock.onAny(taskTrackerBaseUrl)
.replyOnce(200, summarySearchResult)
.onAny(taskTrackerBaseUrl)
.reply(200, detailSearchResult)
Expand All @@ -243,7 +243,7 @@ test("Displays results if detail search completes successfully with previous dis
})

test("Clicking back from the detail search results returns to the summary search", async () => {
mock.onAny(taskTrackerBaseUrl, taskTrackerBaseUrl)
mock.onAny(taskTrackerBaseUrl)
.replyOnce(200, summarySearchResult)
.onAny(taskTrackerBaseUrl)
.reply(200, detailSearchResult)
Expand Down

0 comments on commit d0be35d

Please sign in to comment.