Skip to content

Commit

Permalink
test: fix @portabletext/block-tools alias (#8262)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhg authored Jan 14, 2025
1 parent 8299462 commit 7c2a68b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sanity/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default defineConfig({
* This alias points to the source of the pte package so the aliases work.
*/
alias: {
'@portabletext/block-tools': path.join(__dirname, './node_modules/@portabletext/block-tools/src'),

Check failure on line 18 in packages/sanity/vitest.config.mts

View workflow job for this annotation

GitHub Actions / lint

Replace `__dirname,·'./node_modules/@portabletext/block-tools/src'` with `⏎········__dirname,⏎········'./node_modules/@portabletext/block-tools/src',⏎······`
'@portabletext/editor': path.join(__dirname, './node_modules/@portabletext/editor/src'),
},
},
Expand Down

0 comments on commit 7c2a68b

Please sign in to comment.