Skip to content

Commit

Permalink
fix(tests): make snapshots match by setting travis timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
jvhoven committed Aug 30, 2019
1 parent 78a96c7 commit 834097d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
language: node_js
node_js: '12'
sudo: false
before_script:
- export TZ=Europe/Amsterdam
- date
before_install:
- npm install -g yarn # https://github.com/yarnpkg/yarn/issues/2428
script:
- yarn build
- yarn
- yarn run lint
- yarn run test-only -- --coverage --outputFile test-results.json --json
- npx danger ci
Expand Down
37 changes: 18 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,32 @@
"storybook": "start-storybook -c storybook",
"docs": "jekyll serve --source docs",
"dev-publish": "yarn clean && yarn build && ENV=dev ./scripts/publish.sh",
"typecheck": "tsc --noEmit",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn test && yarn build"
},
"dependencies": {
"@42.nl/react-flash-messages": "0.0.2",
"@42.nl/spring-connect": "3.2.0",
"@42.nl/jarb-final-form": "1.0.0",
"@42.nl/react-error-store": "0.0.1",
"react-i18next": "10.12.2",
"pica": "5.1.0",
"final-form": "4.16.2",
"@42.nl/react-flash-messages": "0.0.2",
"@42.nl/spring-connect": "3.2.0",
"bootstrap": "4.3.1",
"classnames": "2.2.6",
"final-form": "4.16.2",
"lodash.take": "4.1.1",
"lodash.uniqueid": "4.0.1",
"material-design-icons": "3.0.1",
"moment": "2.24.0",
"react-quill": "1.3.3",
"pica": "5.1.0",
"react-avatar-editor": "11.0.7",
"reactstrap": "8.0.1",
"react-router-dom": "5.0.1",
"react-final-form": "6.3.0",
"react-display-name": "0.2.4",
"react-datetime": "2.16.3",
"react-bootstrap-typeahead": "4.0.0-alpha.6",
"react-datetime": "2.16.3",
"react-display-name": "0.2.4",
"react-final-form": "6.3.0",
"react-i18next": "10.12.2",
"react-quill": "1.3.3",
"react-router-dom": "5.0.1",
"react-text-mask": "5.4.3",
"react-textarea-autosize": "7.1.0",
"react-text-mask": "5.4.3"
"reactstrap": "8.0.1"
},
"peerDependencies": {
"react": "^16.8.6",
Expand All @@ -68,17 +67,17 @@
"@types/enzyme-adapter-react-16": "1.0.5",
"@types/enzyme-to-json": "1.5.3",
"@types/jest": "24.0.18",
"@types/lodash.take": "4.1.6",
"@types/lodash.uniqueid": "4.0.6",
"@types/node": "12.7.2",
"@types/react": "16.9.1",
"@types/react-avatar-editor": "10.3.4",
"@types/react-bootstrap-typeahead": "3.4.3",
"@types/react-dom": "16.9.0",
"@types/react-router-dom": "4.3.5",
"@types/reactstrap": "8.0.4",
"@types/storybook__addon-actions": "3.4.3",
"@types/storybook__react": "4.0.2",
"@types/lodash.uniqueid": "4.0.6",
"@types/lodash.take": "4.1.6",
"@types/react-router-dom": "4.3.5",
"@types/react-avatar-editor": "10.3.4",
"@types/react-bootstrap-typeahead": "3.4.3",
"@typescript-eslint/eslint-plugin": "2.0.0",
"@typescript-eslint/parser": "2.0.0",
"babel-loader": "8.0.6",
Expand Down

0 comments on commit 834097d

Please sign in to comment.