From 6881932dbcdcd9fdd65e31f8a9de33b8c1e8d5f1 Mon Sep 17 00:00:00 2001 From: Ravi Srinivasan <rsriniva@redhat.com> Date: Thu, 31 Jan 2019 15:22:35 +0100 Subject: [PATCH] Minor fixes to lab 3 --- 3-revenge-of-the-automated-testing/README.md | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/3-revenge-of-the-automated-testing/README.md b/3-revenge-of-the-automated-testing/README.md index 2f0cef2..cfa44cf 100644 --- a/3-revenge-of-the-automated-testing/README.md +++ b/3-revenge-of-the-automated-testing/README.md @@ -412,6 +412,19 @@ npm run test -- --watch ``` +> NOTE: You may see an `ENOSPC` error on Linux systems like the following: +```bash +ERROR jest exited with code 1. +npm ERR! code ELIFECYCLE +npm ERR! errno 1 +npm ERR! todolist-fe@1.0.0 test: `vue-cli-service test "--watch"` +npm ERR! Exit status 1 +``` +To fix this error, run the following command: +```bash +echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p +``` + 3. All the tests should be passing when we begin. If `No tests found related to files changed since last commit` is on show; hit `a` on the terminal to re-run `all` tests. ![rerun-all](../images/exercise3/rerun-all.png) -- Gitblit v1.9.3