Commit 563b47d
committed
fix: resolve @surrealdb/spectron from source in tests
Map @surrealdb/spectron to ./packages/spectron/src in the root tsconfig
paths, matching the existing convention for surrealdb and @surrealdb/sqon.
Without this mapping the package only resolved via its built dist/ bundle,
so spectron tests failed with "Cannot find module '@surrealdb/spectron'"
whenever the package had not been built.1 parent f6c2185 commit 563b47d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
0 commit comments