Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Improve the test environment #1569

Merged
merged 2 commits into from
Feb 8, 2018
Merged

Improve the test environment #1569

merged 2 commits into from
Feb 8, 2018

Conversation

siemiatj
Copy link
Contributor

@siemiatj siemiatj commented Feb 8, 2018

Decided to use facebook's Jest for our testing environment, as it's really easy to work with, and gives a lot of built-in options (like test coverage we can turn on later) and flexibility. Rewritten current tests as well so everything should work in Jenkins too.

#1501

@siemiatj siemiatj force-pushed the dev-test-environment branch 3 times, most recently from 5eb87bd to 2162ffa Compare February 8, 2018 11:40
@metas-ts
Copy link
Member

metas-ts commented Feb 8, 2018

hi @siemiatj i would like to help making them execute on jenkins.
currently, we basically do this:

yarn install
yarn lint --quiet
yarn test
webpack --config webpack.prod.js --bail --display-error-details

in the Jenkinsfile...

@siemiatj
Copy link
Contributor Author

siemiatj commented Feb 8, 2018

@metas-ts It'll run on Jenkins in the same way as it did before. We just need more tests that actually test something. What we had right now was barely testing anything so they'd never crash :)

@siemiatj siemiatj merged commit 91490f7 into master Feb 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants