fix: Move default country loading for region to the loader, fix a bug with cascade (#6559)

This commit is contained in:
Stevche Radevski
2024-03-01 14:58:55 +01:00
committed by GitHub
parent 56d97ebef9
commit 347aba719c
16 changed files with 87 additions and 121 deletions

View File

@@ -47,11 +47,6 @@ describe("Cart links", () => {
await shutdownServer()
})
beforeEach(async () => {
// @ts-ignore
await regionModule.createDefaultCountries()
})
afterEach(async () => {
const db = useDb()
await db.teardown()

View File

@@ -33,11 +33,6 @@ describe("Link: Cart Region", () => {
await shutdownServer()
})
beforeEach(async () => {
// @ts-ignore
await regionModule.createDefaultCountries()
})
afterEach(async () => {
const db = useDb()
await db.teardown()