Skip to content

Commit c4f42c9

Browse files
authored
Fix the node tests in the CI (#1091)
1 parent 6992371 commit c4f42c9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"playground:vue3": "turbo run dev --filter=@meilisearch/vue3-ts-playground --parallel",
1818
"playground:react": "turbo run dev --filter=@meilisearch/react-playground --parallel",
1919
"playground:local-react": "turbo run dev --filter=@meilisearch/local-react-playground --parallel",
20-
"playground:node": "turbo run dev --filter=@meilisearch/node-playground --parallel",
20+
"playground:node": "turbo build dev --filter=@meilisearch/node-playground --parallel",
2121
"test:e2e": "turbo run test:e2e",
2222
"test:e2e:watch": "turbo run test:e2e:watch",
2323
"lint": "turbo lint",

playgrounds/node-env/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const msClient = new MeiliSearch({ host: 'http://localhost:7700', apiKey: 'maste
2222
await msClient.waitForTask(task2.taskUid)
2323
process.exit(0)
2424
} catch(e) {
25+
console.log(e)
2526
console.error('Could not run the `umd` build in a node environment')
2627
process.exit(1)
2728
}

0 commit comments

Comments
 (0)