From 9a3d64c91fabc9eca1d66c7dc850cac442518c18 Mon Sep 17 00:00:00 2001 From: ABDUL || JS & PY Date: Fri, 7 Oct 2022 06:20:52 +0100 Subject: [PATCH] chore: add instruction for installing dependencies (#1120) --- CONTRIBUTING.md | 6 ++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 28659f6bd..7386f9dca 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,6 +82,12 @@ and inspect the outcome. Example: [RatInAMaze.test.js](Backtracking/tests/RatInA Please refrain from using `console` in your implementation AND test code. +First you should install all dependencies using: + +```shell +npm install +``` + You can (and should!) run all tests locally before committing your changes: ```shell diff --git a/package-lock.json b/package-lock.json index d7cb0da2e..d3f460066 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "babel-jest": "^26.3.0", "globby": "^12.0.2", "husky": "^7.0.4", - "jest": "^26.4.2", + "jest": "^26.6.3", "standard": "^16.0.4" }, "engines": { diff --git a/package.json b/package.json index 8ba035922..f7865aebe 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "babel-jest": "^26.3.0", "globby": "^12.0.2", "husky": "^7.0.4", - "jest": "^26.4.2", + "jest": "^26.6.3", "standard": "^16.0.4" }, "engines": {