chore(medusa): Upgrade ioredis-mock (#3704)

* chore(medusa): Upgrade ioredis-mock

* Create .changeset/old-spoons-bow.md

* chore: Increas jest timeout

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Oliver Windall Juhl
2023-04-09 16:10:04 +02:00
committed by GitHub
parent 4104d9ccb2
commit 085fedb1f7
4 changed files with 27 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ const {
simpleShippingOptionFactory,
} = require("../../../factories")
jest.setTimeout(30000)
jest.setTimeout(50000)
const adminHeaders = { headers: { Authorization: "Bearer test_token" } }
@@ -27,11 +27,6 @@ describe("/store/carts", () => {
let appContainer
let dbConnection
const doAfterEach = async () => {
const db = useDb()
return await db.teardown()
}
beforeAll(async () => {
const cwd = path.resolve(path.join(__dirname, "..", "..", ".."))
dbConnection = await initDb({ cwd })