diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index fd317f4b..30f2d436 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -49,12 +49,24 @@
"./tests/python"
],
},
+ {
+ "label": "Run JS tests",
+ "type": "process",
+ "command": "poetry",
+ "args": [
+ "run",
+ "bash",
+ "./peter-jr",
+ "./tests/js/"
+ ],
+ },
{
"label": "Test",
"dependsOrder": "sequence",
"dependsOn": [
"Install development dependencies",
"Run pytest",
+ "Run JS tests",
],
"group": {
"kind": "test",
diff --git a/README.md b/README.md
index 45f53c90..3c48b93c 100644
--- a/README.md
+++ b/README.md
@@ -80,6 +80,7 @@ If you are using VSCode, you can just press Ctrl + Shift +
1. Compile the project
2. Install development dependencies: `poetry install --no-root --only=dev`
3. From the root directory, run `poetry run pytest ./tests/python`
+4. From the root directory, run `poetry run bash ./peter-jr ./tests/js/`
For VSCode users, similar to the Build Task, we have a Test Task ready to use.