refactor(medusa): move repository specs into its own folder (#2952)
**What:** Introduces a new folder under which repository specs will be placed. Why: We don't currently have a good place to test ORM logic or custom queries against the database. The repository folder tests are a place for just exactly that. How: Creates an internal package similar to other integration tests - api and plugins. CORE-965
This commit is contained in:
22
integration-tests/repositories/package.json
Normal file
22
integration-tests/repositories/package.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "integration-tests-repositories",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "jest --silent=false --runInBand --bail --detectOpenHandles --forceExit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/medusa": "*",
|
||||
"medusa-interfaces": "*",
|
||||
"typeorm": "^0.2.31"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.12.10",
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/node": "^7.12.10",
|
||||
"babel-preset-medusa-package": "*",
|
||||
"jest": "^26.6.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user