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:
@@ -66,10 +66,11 @@
|
||||
"lint:docs": "eslint -c docs/.eslintrc.js --ignore-path docs/.eslintignore docs/content",
|
||||
"prettier": "prettier",
|
||||
"jest": "jest",
|
||||
"test": "turbo run test --no-daemon --filter=!integration-tests-api --filter=!integration-tests-plugins",
|
||||
"test:integration": "turbo run test --no-daemon --filter=integration-tests-api --filter=integration-tests-plugins",
|
||||
"test": "turbo run test --no-daemon --filter=!integration-tests-api --filter=!integration-tests-plugins --filter=!integration-tests-repositories",
|
||||
"test:integration": "turbo run test --no-daemon --filter=integration-tests-api --filter=integration-tests-plugins --filter=integration-tests-repositories",
|
||||
"test:integration:api": "turbo run test --no-daemon --filter=integration-tests-api",
|
||||
"test:integration:plugins": "turbo run test --no-daemon --filter=integration-tests-plugins",
|
||||
"test:integration:repositories": "turbo run test --no-daemon --filter=integration-tests-repositories",
|
||||
"openapi:generate": "node ./scripts/build-openapi.js",
|
||||
"generate:services": "typedoc --options typedoc.services.js",
|
||||
"generate:js-client": "typedoc --options typedoc.js-client.js",
|
||||
|
||||
Reference in New Issue
Block a user