Skip to content

Commit

Permalink
sdk: format js sdk and remove mock tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Oct 15, 2017
1 parent c74e4c2 commit 1919d0c
Show file tree
Hide file tree
Showing 123 changed files with 2,863 additions and 7,497 deletions.
6 changes: 2 additions & 4 deletions package.json
Expand Up @@ -5,7 +5,7 @@
"license": "Apache 2.0",
"main": "sdk/js/swagger/src/index.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
"prettier": "prettier --single-quote --parser flow --no-semi --write \"sdk/js/**/*.js\""
},
"browser": {
"fs": false
Expand All @@ -14,8 +14,6 @@
"superagent": "3.5.2"
},
"devDependencies": {
"mocha": "~2.3.4",
"sinon": "1.17.3",
"expect.js": "~0.3.1"
"prettier": "^1.7.4"
}
}
3 changes: 3 additions & 0 deletions scripts/run-gensdk.sh
Expand Up @@ -21,3 +21,6 @@ git add -A .
git checkout HEAD -- sdk/go/hydra/swagger/configuration.go
git checkout HEAD -- sdk/go/hydra/swagger/api_client.go
rm -f ./sdk/js/swagger/package.json
rm -rf ./sdk/js/swagger/test

npm run prettier

0 comments on commit 1919d0c

Please sign in to comment.