Skip to content

Commit

Permalink
minor stylistic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Nov 9, 2023
1 parent 841a964 commit a8f755a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/icon-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ test('[kGetIconBlob]()', async (t) => {
})

test(`getIconUrl()`, async (t) => {
let mediaBaseUrl = `http://127.0.0.1:8080/icons/`
let mediaBaseUrl = 'http://127.0.0.1:8080/icons/'

const { iconApi } = setup({
getMediaBaseUrl: async () => mediaBaseUrl,
Expand Down Expand Up @@ -186,7 +186,7 @@ test(`getIconUrl()`, async (t) => {
}

// Change media base url (e.g. host or port changes)
mediaBaseUrl = `http://0.0.0.0:3000/icons/`
mediaBaseUrl = 'http://0.0.0.0:3000/icons/'

{
const url = await iconApi.getIconUrl(iconId, {
Expand Down Expand Up @@ -621,7 +621,7 @@ test(
* @param {{ getMediaBaseUrl?: () => Promise<string> }} [opts]
*/
function setup({
getMediaBaseUrl = async () => `http://127.0.0.1:8080/icons`,
getMediaBaseUrl = async () => 'http://127.0.0.1:8080/icons',
} = {}) {
const cm = createCoreManager()
const sqlite = new Database(':memory:')
Expand Down

0 comments on commit a8f755a

Please sign in to comment.