imageBase.test.mjs
432 Bytes
import { describe, it } from 'node:test'
import assert from 'node:assert/strict'
import { setupWxMock } from './menuTestHelpers.mjs'
describe('imageBase', () => {
it('IT-IMG-BASE-001: IMG_URL ends with slash and matches ImgUrl', async () => {
setupWxMock(globalThis)
const { IMG_URL } = await import('../../utils/imageBase.js')
const { ImgUrl } = await import('../../config.js')
assert.equal(IMG_URL, `${ImgUrl}/`)
})
})