Skip to content

Commit

Permalink
log heap usage
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Apr 27, 2020
1 parent 6dd7557 commit d19bdb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jest
Expand Up @@ -9,4 +9,4 @@ LICENSE file in the root directory of this source tree.

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

node "$DIR"/packages/jest-cli/bin/jest "$@"
node "$DIR"/packages/jest-cli/bin/jest "$@" --log-heap-usage
5 changes: 1 addition & 4 deletions jest.config.ci.js
Expand Up @@ -15,9 +15,6 @@ module.exports = {
'jest-junit',
{outputDirectory: 'reports/junit', outputName: 'js-test-results.xml'},
],
[
'jest-silent-reporter',
{showPaths: true, showWarnings: true, useDots: true},
],
'default',
],
};
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -93,7 +93,7 @@
"check-copyright-headers": "node ./scripts/checkCopyrightHeaders.js",
"clean-all": "yarn clean-e2e && yarn build-clean && rimraf ./packages/*/node_modules && rimraf ./node_modules",
"clean-e2e": "node ./scripts/cleanE2e.js",
"jest": "node ./packages/jest-cli/bin/jest.js",
"jest": "node ./packages/jest-cli/bin/jest.js --log-heap-usage",
"jest-coverage": "yarn jest --coverage",
"lint": "eslint . --cache --ext js,jsx,ts,tsx,md",
"lint-es5-build": "eslint --no-eslintrc --no-ignore --env=browser packages/*/build-es5",
Expand Down

0 comments on commit d19bdb5

Please sign in to comment.