fix: Updating store currencies (#984)
* fix: Adds default currency to store currencies on create * fix: Adds integration tests + currency update error handling * add test * Lowercase currency codes * fix tests * fix: Await drop database to stop Jest from complaining * revert itnegration tests fix * fix store tests
This commit is contained in:
committed by
GitHub
parent
3bf32e5dc9
commit
59bb413245
@@ -11,9 +11,9 @@ const pgGodCredentials = {
|
||||
password: DB_PASSWORD,
|
||||
}
|
||||
|
||||
afterAll(() => {
|
||||
afterAll(async () => {
|
||||
const workerId = parseInt(process.env.JEST_WORKER_ID || "1")
|
||||
dropDatabase(
|
||||
await dropDatabase(
|
||||
{ databaseName: `medusa-integration-${workerId}` },
|
||||
pgGodCredentials
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user