Skip to content

Commit

Permalink
Merged in RES-2077-vpn-use-resin-lint (pull request #88)
Browse files Browse the repository at this point in the history
Use resin-lint
  • Loading branch information
lekkas committed Mar 24, 2016
2 parents eb6d4b3 + ef3a398 commit 17f1036
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 138 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,3 +1,4 @@
* Use resin-lint [Internal] [Kostas]
* Remove device port 4200 from web access whitelist [External] [Kostas]
* Updated dependencies [Internal] [Page]
* Reduce noise in logs [Internal] [Kostas]
Expand Down
1 change: 0 additions & 1 deletion automation/test.sh
Expand Up @@ -27,7 +27,6 @@ test_id=$(docker run \
docker exec $test_id /bin/sh -c '\
npm install \
&& systemctl stop resin-vpn.service resin-connect-proxy.service \
&& ./node_modules/.bin/coffeelint ./src ./test \
&& echo "127.0.0.1 deadbeef.vpn" >> /etc/hosts \
&& npm run test-unit \
&& ./node_modules/mocha/bin/mocha test/app.coffee'
136 changes: 0 additions & 136 deletions coffeelint.json

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -4,6 +4,7 @@
"description": "RESTful VPN api",
"main": "server.js",
"scripts": {
"pretest-unit": "resin-lint src/ test/",
"test-unit": "mocha test/index.coffee",
"test": "docker build -t test-resin-vpn . && IMAGE_NAME=test-resin-vpn ./automation/test.sh"
},
Expand Down Expand Up @@ -32,13 +33,13 @@
"devDependencies": {
"chai": "^3.0.0",
"chai-as-promised": "^5.1.0",
"coffeelint": "^1.10.1",
"duplexer2": "^0.1.4",
"mocha": "^2.1.0",
"mockery": "~1.4.0",
"nock": "^7.2.2",
"openvpn-client": "0.0.2",
"requestmock": "0.0.9",
"resin-lint": "^1.2.1",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"supertest": "~0.15.0"
Expand Down

0 comments on commit 17f1036

Please sign in to comment.