Skip to content
Permalink
Browse files
Tests now automatically run and kill 'node index.js'
  • Loading branch information
harjaus committed Oct 31, 2019
1 parent 4675219 commit 1c6d8bd9534f351ce4a87b82f03167c8306df8cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

node index.js&
node_modules/.bin/cucumber-js ./features -r ./steps
pkill node
@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"cucumber": "cucumber-js ./features -r ./steps",
"cucumber": "./cucumberTest.sh",
"linter": "node_modules/.bin/eslint .",
"test": "node_modules/.bin/jest --coverage --runInBand --detectOpenHandles",
"watch": "node_modules/.bin/jest --coverage --watchAll",

This file was deleted.

0 comments on commit 1c6d8bd

Please sign in to comment.