Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
language: node_js
node_js:
- "stable"
global:
- CC_TEST_REPORTER_ID=8b6bf12e6ead48f678784e0ee89c5de02d892a675193d275f6663b0d3c1d3494
cache:
directories:
- $HOME/.npm
- node_modules
env:
global:
- CC_TEST_REPORTER_ID=8b6bf12e6ead48f678784e0ee89c5de02d892a675193d275f6663b0d3c1d3494
before_script:
- npm install
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- npm run ci:test
- npm run test:coverage
- npm run build
deploy:
provider: heroku
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"test": "jest --config jest.config.js",
"ci:test": "jest --config jest.config.js | coveralls",
"test:coverage": "jest --coverage || true",
"start": "node src/app.js",
"build": "webpack --config webpack.prod.js",
"dev": "webpack-dev-server --config webpack.dev.js"
Expand Down
1 change: 0 additions & 1 deletion src/actions/office.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const fetchOffice = (name, ageLimit, basicQual, type,) => (dispatch) => {
name, ageLimit, basicQual, type,
})
.then((response) => {
console.log('office', response.data);
dispatch(officeSuccess(response.data));
toast.success('Office successfully created');
// localStorage.setItem('token', response.data.data[0].token);
Expand Down