Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-07-08 18:14:18 +0300
committerWinnie Hellmann <winnie@gitlab.com>2019-07-08 18:14:18 +0300
commit386ff4bc934871b3434afde7c69a30a9b138c781 (patch)
treeca4bdd9063151368832a67456b0e3d52084ce6b4
parent8f9fbbebc5c5b679730a14a8aef165954c1099c0 (diff)
Check memory consumption of Jest
-rw-r--r--spec/frontend/test_setup.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/frontend/test_setup.js b/spec/frontend/test_setup.js
index 15cf18700ed..97b6dadb0d3 100644
--- a/spec/frontend/test_setup.js
+++ b/spec/frontend/test_setup.js
@@ -79,3 +79,9 @@ Object.entries(jqueryMatchers).forEach(([matcherName, matcherFactory]) => {
// Tech debt issue TBD
testUtilsConfig.logModifiedComponents = false;
+
+beforeEach(() => {
+ const { execSync } = require('child_process');
+ console.log('free -m', execSync('free -m'));
+});
+