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:
co-authored by
kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent
4104d9ccb2
commit
085fedb1f7
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/medusa": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
chore(medusa): Upgrade ioredis-mock
|
||||||
@@ -18,7 +18,7 @@ const {
|
|||||||
simpleShippingOptionFactory,
|
simpleShippingOptionFactory,
|
||||||
} = require("../../../factories")
|
} = require("../../../factories")
|
||||||
|
|
||||||
jest.setTimeout(30000)
|
jest.setTimeout(50000)
|
||||||
|
|
||||||
const adminHeaders = { headers: { Authorization: "Bearer test_token" } }
|
const adminHeaders = { headers: { Authorization: "Bearer test_token" } }
|
||||||
|
|
||||||
@@ -27,11 +27,6 @@ describe("/store/carts", () => {
|
|||||||
let appContainer
|
let appContainer
|
||||||
let dbConnection
|
let dbConnection
|
||||||
|
|
||||||
const doAfterEach = async () => {
|
|
||||||
const db = useDb()
|
|
||||||
return await db.teardown()
|
|
||||||
}
|
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
const cwd = path.resolve(path.join(__dirname, "..", "..", ".."))
|
const cwd = path.resolve(path.join(__dirname, "..", "..", ".."))
|
||||||
dbConnection = await initDb({ cwd })
|
dbConnection = await initDb({ cwd })
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
"fs-exists-cached": "^1.0.0",
|
"fs-exists-cached": "^1.0.0",
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
"ioredis": "^5.2.5",
|
"ioredis": "^5.2.5",
|
||||||
"ioredis-mock": "^5.6.0",
|
"ioredis-mock": "8.4.0",
|
||||||
"iso8601-duration": "^1.3.0",
|
"iso8601-duration": "^1.3.0",
|
||||||
"jsonwebtoken": "^8.5.1",
|
"jsonwebtoken": "^8.5.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
|
|||||||
@@ -4043,7 +4043,14 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@ioredis/commands@npm:^1.1.1":
|
"@ioredis/as-callback@npm:^3.0.0":
|
||||||
|
version: 3.0.0
|
||||||
|
resolution: "@ioredis/as-callback@npm:3.0.0"
|
||||||
|
checksum: cbeae0c4a8f8f8ea1987d105056fd595a5a1a781a73dfa3a13ac13027fd1de099af6f3590bd315fd20284efd8597430a7ba3b912570804d158dabbdb2071523b
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@ioredis/commands@npm:^1.1.1, @ioredis/commands@npm:^1.2.0":
|
||||||
version: 1.2.0
|
version: 1.2.0
|
||||||
resolution: "@ioredis/commands@npm:1.2.0"
|
resolution: "@ioredis/commands@npm:1.2.0"
|
||||||
checksum: a5d3c29dd84d8a28b7c67a441ac1715cbd7337a7b88649c0f17c345d89aa218578d2b360760017c48149ef8a70f44b051af9ac0921a0622c2b479614c4f65b36
|
checksum: a5d3c29dd84d8a28b7c67a441ac1715cbd7337a7b88649c0f17c345d89aa218578d2b360760017c48149ef8a70f44b051af9ac0921a0622c2b479614c4f65b36
|
||||||
@@ -5906,7 +5913,7 @@ __metadata:
|
|||||||
fs-exists-cached: ^1.0.0
|
fs-exists-cached: ^1.0.0
|
||||||
glob: ^7.1.6
|
glob: ^7.1.6
|
||||||
ioredis: ^5.2.5
|
ioredis: ^5.2.5
|
||||||
ioredis-mock: ^5.6.0
|
ioredis-mock: 8.4.0
|
||||||
iso8601-duration: ^1.3.0
|
iso8601-duration: ^1.3.0
|
||||||
jest: ^25.5.4
|
jest: ^25.5.4
|
||||||
jsonwebtoken: ^8.5.1
|
jsonwebtoken: ^8.5.1
|
||||||
@@ -20374,7 +20381,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"fengari-interop@npm:^0.1.2":
|
"fengari-interop@npm:^0.1.3":
|
||||||
version: 0.1.3
|
version: 0.1.3
|
||||||
resolution: "fengari-interop@npm:0.1.3"
|
resolution: "fengari-interop@npm:0.1.3"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -23427,18 +23434,19 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"ioredis-mock@npm:^5.6.0":
|
"ioredis-mock@npm:8.4.0":
|
||||||
version: 5.9.1
|
version: 8.4.0
|
||||||
resolution: "ioredis-mock@npm:5.9.1"
|
resolution: "ioredis-mock@npm:8.4.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@ioredis/as-callback": ^3.0.0
|
||||||
|
"@ioredis/commands": ^1.2.0
|
||||||
fengari: ^0.1.4
|
fengari: ^0.1.4
|
||||||
fengari-interop: ^0.1.2
|
fengari-interop: ^0.1.3
|
||||||
lodash: ^4.17.21
|
semver: ^7.3.8
|
||||||
standard-as-callback: ^2.1.0
|
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
ioredis: 4.x
|
"@types/ioredis-mock": ^8
|
||||||
redis-commands: 1.x
|
ioredis: ^5
|
||||||
checksum: 0b898273788c38ec617a3cf94df93c41a8f05a1cf57dfbbc3a97ea72fc07882be3872d55c915e49e615892ec20129351be7bb68e1beb7563a01eec157cc84088
|
checksum: 689b250c2b0ec051b3d4062d850b7a458cc0e8a263b4666eae3929bb79fd0caf5b65605f3c275eff8f3e872f936dfa5a63db9e732697bc8240c82076bcb20caf
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user