fix(integration-tests): Add missing deps + timeout to repos test (#5506)

This commit is contained in:
Oli Juhl
2023-10-31 12:18:55 +01:00
committed by GitHub
parent 2057d3b247
commit 65639cb8c1
3 changed files with 7 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
import { ProductCategoryRepository } from "@medusajs/medusa/dist/repositories/product-category"
import path from "path"
import { initDb, useDb } from "../../../environment-helpers/use-db"
import { simpleProductCategoryFactory } from "../../../factories"
import { ProductCategoryRepository } from "@medusajs/medusa/dist/repositories/product-category"
jest.setTimeout(30000)
describe("Product Categories", () => {
let dbConnection

View File

@@ -8,6 +8,8 @@
"test:integration": "jest --silent=false --runInBand --bail --detectOpenHandles --forceExit"
},
"dependencies": {
"@medusajs/cache-inmemory": "workspace:*",
"@medusajs/event-bus-local": "workspace:*",
"@medusajs/medusa": "workspace:*",
"medusa-interfaces": "workspace:*",
"pg": "^8.11.0",

View File

@@ -26539,6 +26539,8 @@ __metadata:
"@babel/cli": ^7.12.10
"@babel/core": ^7.12.10
"@babel/node": ^7.12.10
"@medusajs/cache-inmemory": "workspace:*"
"@medusajs/event-bus-local": "workspace:*"
"@medusajs/medusa": "workspace:*"
babel-preset-medusa-package: "*"
jest: ^26.6.3