chore: remove internal module resources option (#9582)
What: * removes resouces type "shared" or "isolated" from internal modules. * modules can have an isolated database connection by providing a database config as part of their options on `medusa-config` CLOSES: FRMW-2593
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {
|
||||
ContainerRegistrationKeys,
|
||||
DmlEntity,
|
||||
isSharedConnectionSymbol,
|
||||
loadModels,
|
||||
Modules,
|
||||
ModulesSdkUtils,
|
||||
@@ -118,6 +119,7 @@ export function moduleIntegrationTestRunner<TService = any>({
|
||||
options: {
|
||||
database: dbConfig,
|
||||
...moduleOptions,
|
||||
[isSharedConnectionSymbol]: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user