Skip to content

Commit

Permalink
Disable warning and enable ci mode for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pozylon committed Oct 22, 2024
1 parent 14c86d2 commit 22c0ccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ADD jest-mongodb-config.cjs /source/jest-mongodb-config.cjs
ENV MONGOMS_VERSION=7.0.14
ENV MONGOMS_SYSTEM_BINARY=/usr/bin/mongod
RUN NODE_ENV=development npm install -ws --include-workspace-root
ENV NODE_NO_WARNINGS=1

ADD . /source/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dev:watch-packages": "workspaces-run --ignore '@unchainedshop/shared' --only-fs 'packages/**' --parallel -- npm run watch",
"update-version": "npm version --no-git-tag-version --workspaces --include-workspace-root",
"build": "npm run prepublishOnly --workspaces --if-present",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --config ./packages/unit-jest.config.js",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --ci --detectOpenHandles --config ./packages/unit-jest.config.js",
"test:unit-watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --watch --config ./packages/unit-jest.config.js"
},
"devDependencies": {
Expand Down

0 comments on commit 22c0ccb

Please sign in to comment.