-
- Downloads
Lint frontend tests, including checking for accidental fdescribe/fit
Showing
- frontend/test/.eslintrc 13 additions, 0 deletionsfrontend/test/.eslintrc
- frontend/test/e2e/admin/datamodel.spec.js 0 additions, 7 deletionsfrontend/test/e2e/admin/datamodel.spec.js
- frontend/test/e2e/admin/people.spec.js 0 additions, 4 deletionsfrontend/test/e2e/admin/people.spec.js
- frontend/test/e2e/auth/login.spec.js 1 addition, 8 deletionsfrontend/test/e2e/auth/login.spec.js
- frontend/test/e2e/query_builder/query_builder.spec.js 0 additions, 7 deletionsfrontend/test/e2e/query_builder/query_builder.spec.js
- frontend/test/e2e/query_builder/tutorial.spec.js 0 additions, 5 deletionsfrontend/test/e2e/query_builder/tutorial.spec.js
- frontend/test/e2e/setup/signup.spec.js 0 additions, 5 deletionsfrontend/test/e2e/setup/signup.spec.js
- frontend/test/e2e/support/shared-resource.js 1 addition, 1 deletionfrontend/test/e2e/support/shared-resource.js
- frontend/test/e2e/support/utils.js 0 additions, 2 deletionsfrontend/test/e2e/support/utils.js
- frontend/test/karma.conf.js 0 additions, 3 deletionsfrontend/test/karma.conf.js
- frontend/test/unit/lib/expressions.spec.js 7 additions, 7 deletionsfrontend/test/unit/lib/expressions.spec.js
- package.json 2 additions, 1 deletionpackage.json
- yarn.lock 4 additions, 0 deletionsyarn.lock
frontend/test/.eslintrc
0 → 100644
... | @@ -78,6 +78,7 @@ | ... | @@ -78,6 +78,7 @@ |
"eslint": "^3.5.0", | "eslint": "^3.5.0", | ||
"eslint-loader": "^1.6.0", | "eslint-loader": "^1.6.0", | ||
"eslint-plugin-flowtype": "^2.22.0", | "eslint-plugin-flowtype": "^2.22.0", | ||
"eslint-plugin-jasmine": "^2.2.0", | |||
"eslint-plugin-react": "^6.3.0", | "eslint-plugin-react": "^6.3.0", | ||
"exports-loader": "^0.6.3", | "exports-loader": "^0.6.3", | ||
"extract-text-webpack-plugin": "^1.0.1", | "extract-text-webpack-plugin": "^1.0.1", | ||
... | @@ -123,7 +124,7 @@ | ... | @@ -123,7 +124,7 @@ |
}, | }, | ||
"scripts": { | "scripts": { | ||
"dev": "yarn && concurrently --kill-others -p name -n 'backend,frontend' -c 'blue,green' 'lein ring server' 'yarn run build-hot'", | "dev": "yarn && concurrently --kill-others -p name -n 'backend,frontend' -c 'blue,green' 'lein ring server' 'yarn run build-hot'", | ||
"lint": "eslint --ext .js --ext .jsx --max-warnings 0 frontend/src", | "lint": "eslint --ext .js --ext .jsx --max-warnings 0 frontend/src frontend/test", | ||
"flow": "flow check", | "flow": "flow check", | ||
"test": "karma start frontend/test/karma.conf.js --single-run", | "test": "karma start frontend/test/karma.conf.js --single-run", | ||
"test-watch": "karma start frontend/test/karma.conf.js --auto-watch --reporters nyan", | "test-watch": "karma start frontend/test/karma.conf.js --auto-watch --reporters nyan", | ||
... | ... |
Please register or sign in to comment