Skip to content

Commit

Permalink
Run tests with fbp-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Sep 23, 2018
1 parent 2d69b45 commit 151b2f3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 45 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/node_modules/
/browser/
/components/*/
/spec/*.js
/spec/*.xml
/spec/runner.html
flowhub.json
fbp.json
package-lock.json
*~
gh-pages/
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"license": "MIT",
"scripts": {
"test": "grunt test"
"pretest": "eslint components/*.js && grunt build",
"test": "fbp-spec --address ws://localhost:3569 --command \"noflo-runtime-headless -f browser/noflo-browser-app.js\" spec/*.yaml"
},
"dependencies": {
"noflo": "^1.0.0",
Expand All @@ -21,17 +22,15 @@
"noflo-interaction": "^0.3.0"
},
"devDependencies": {
"chai": "^4.0.0",
"grunt": "^1.0.1",
"grunt-coffeelint": "^0.0.16",
"grunt-contrib-coffee": "^2.0.0",
"grunt-contrib-uglify": "^3.0.1",
"eslint": "^5.6.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"fbp-spec": "^0.6.6",
"grunt": "^1.0.3",
"grunt-contrib-watch": "^1.0.0",
"grunt-gh-pages": "^2.0.0",
"grunt-mocha-phantomjs": "^4.0.0",
"grunt-mocha-test": "^0.13.2",
"grunt-noflo-browser": "^1.5.0",
"mocha": "^5.0.0",
"noflo-runtime-headless": "^0.1.0",
"noflo-runtime-postmessage": "^0.10.0"
},
"keywords": [
Expand Down
32 changes: 0 additions & 32 deletions spec/DoSomething.coffee

This file was deleted.

2 changes: 1 addition & 1 deletion spec/DoSomething.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
topic: "DoSomething"
topic: "browser-app/DoSomething"
cases:
-
name: 'sending a boolean'
Expand Down

0 comments on commit 151b2f3

Please sign in to comment.