Skip to content

Commit

Permalink
Fix env test
Browse files Browse the repository at this point in the history
  • Loading branch information
flevi29 committed Nov 1, 2024
1 parent 5dab3a1 commit bb95a1c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"test": "vitest run --coverage",
"types": "tsc -p tsconfig.build.json --noEmit",
"types:watch": "yarn types --watch",
"test:env:browser": "node scripts/copy-umd-file.js --to ./tests/env/express/public && yarn build && yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
"test:env:browser": "yarn build && node scripts/copy-umd-file.js --to ./tests/env/express/public && yarn --cwd tests/env/express && yarn --cwd tests/env/express test",
"test:watch": "vitest watch",
"test:coverage": "yarn test",
"test:ci": "yarn test",
Expand Down
2 changes: 1 addition & 1 deletion tests/env/express/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
public/index.umd.min.js
public/index.min.js
2 changes: 1 addition & 1 deletion tests/env/express/public/headers.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</body>

</html>
<script src="./index.umd.min.js"></script>
<script src="./index.min.js"></script>
<script>
; (async () => {
const client = new meilisearch.MeiliSearch({ host: "http://localhost:7700", apiKey: "masterKey" })
Expand Down
2 changes: 1 addition & 1 deletion tests/env/express/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</body>

</html>
<script src="./index.umd.min.js"></script>
<script src="./index.min.js"></script>
<script>
(async () => {
let content = ''
Expand Down

0 comments on commit bb95a1c

Please sign in to comment.