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:
Riqwan Thamir authored and GitHub committed 2023-01-09 08:19:01 +00:00
1 parent baeacd1cc5
commit b280e53bd3
11 files changed
+155 -16

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ module.exports = {
projects: [
"<rootDir>/integration-tests/api/jest.config.js",
"<rootDir>/integration-tests/plugins/jest.config.js",
"<rootDir>/integration-tests/repositories/jest.config.js",
],
testPathIgnorePatterns: [
`/examples/`,