fix(integration-tests): Add missing deps + timeout to repos test (#5506)
This commit is contained in:
1 parent
2057d3b247
commit
65639cb8c1
3 files changed
+7
-1
No files matched your search
@@ -1,7 +1,9 @@
|
|||||||
|
import { ProductCategoryRepository } from "@medusajs/medusa/dist/repositories/product-category"
|
||||||
import path from "path"
|
import path from "path"
|
||||||
import { initDb, useDb } from "../../../environment-helpers/use-db"
|
import { initDb, useDb } from "../../../environment-helpers/use-db"
|
||||||
import { simpleProductCategoryFactory } from "../../../factories"
|
import { simpleProductCategoryFactory } from "../../../factories"
|
||||||
import { ProductCategoryRepository } from "@medusajs/medusa/dist/repositories/product-category"
|
|
||||||
|
jest.setTimeout(30000)
|
||||||
|
|
||||||
describe("Product Categories", () => {
|
describe("Product Categories", () => {
|
||||||
let dbConnection
|
let dbConnection
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
"test:integration": "jest --silent=false --runInBand --bail --detectOpenHandles --forceExit"
|
"test:integration": "jest --silent=false --runInBand --bail --detectOpenHandles --forceExit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@medusajs/cache-inmemory": "workspace:*",
|
||||||
|
"@medusajs/event-bus-local": "workspace:*",
|
||||||
"@medusajs/medusa": "workspace:*",
|
"@medusajs/medusa": "workspace:*",
|
||||||
"medusa-interfaces": "workspace:*",
|
"medusa-interfaces": "workspace:*",
|
||||||
"pg": "^8.11.0",
|
"pg": "^8.11.0",
|
||||||
|
|||||||
@@ -26539,6 +26539,8 @@ __metadata:
|
|||||||
"@babel/cli": ^7.12.10
|
"@babel/cli": ^7.12.10
|
||||||
"@babel/core": ^7.12.10
|
"@babel/core": ^7.12.10
|
||||||
"@babel/node": ^7.12.10
|
"@babel/node": ^7.12.10
|
||||||
|
"@medusajs/cache-inmemory": "workspace:*"
|
||||||
|
"@medusajs/event-bus-local": "workspace:*"
|
||||||
"@medusajs/medusa": "workspace:*"
|
"@medusajs/medusa": "workspace:*"
|
||||||
babel-preset-medusa-package: "*"
|
babel-preset-medusa-package: "*"
|
||||||
jest: ^26.6.3
|
jest: ^26.6.3
|
||||||
|
|||||||
Reference in new issue
Block a user