Skip to content

Commit e184bdd

Browse files
committed
fix(introspectron): add missing dependencies for test execution
- Add @jest/test-sequencer to introspectron devDependencies - Add pgsql-test workspace dependency to graphile-test - Configure pnpm to hoist @jest/test-sequencer for Jest resolution - Update pnpm-lock.yaml with new dependencies Fixes test failures where @jest/test-sequencer and pgsql-test could not be resolved during test execution.
1 parent 026b957 commit e184bdd

4 files changed

Lines changed: 38 additions & 100 deletions

File tree

package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"lint": "pnpm -r run lint"
2626
},
2727
"devDependencies": {
28-
"@jest/test-sequencer": "^30.2.0",
28+
"@jest/test-sequencer": "^29.7.0",
2929
"@types/jest": "^29.5.11",
3030
"@types/jest-in-case": "^1.0.9",
3131
"@types/node": "^20.12.7",
@@ -52,5 +52,17 @@
5252
"graphql-upload": "^13.0.0",
5353
"@pyramation/postgis": "0.1.1"
5454
},
55-
"packageManager": "pnpm@9.12.1"
55+
"packageManager": "pnpm@9.12.1",
56+
"pnpm": {
57+
"publicHoistPattern": [
58+
"@jest/test-sequencer"
59+
],
60+
"packageExtensions": {
61+
"jest-config@*": {
62+
"dependencies": {
63+
"@jest/test-sequencer": "^29.7.0"
64+
}
65+
}
66+
}
67+
}
5668
}

packages/graphile-test/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"@launchql/types": "^2.6.2",
3838
"graphile-settings": "^2.5.3",
3939
"graphql": "15.10.1",
40+
"pgsql-test": "workspace:^",
4041
"mock-req": "^0.2.0",
4142
"pg": "^8.16.0",
4243
"postgraphile": "^4.14.1"

packages/introspectron/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"devDependencies": {
3333
"@types/pg": "^8.15.2",
34+
"@jest/test-sequencer": "^29.7.0",
3435
"graphile-test": "workspace:^",
3536
"pgsql-test": "workspace:^"
3637
},

pnpm-lock.yaml

Lines changed: 22 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)