Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: refactor tests #75

Merged
merged 4 commits into from
Feb 6, 2021
Merged

refactor: refactor tests #75

merged 4 commits into from
Feb 6, 2021

Conversation

shadowgate15
Copy link
Member

I refactor the tests and broke them up into separate files.

It is still having some issues with flakiness on CI. I can't figure out why though... It seems to be a timing issue, however it is running into issues on tests that are being run serially...

@codecov-io
Copy link

codecov-io commented Jan 20, 2021

Codecov Report

Merging #75 (255f60a) into master (7be21b4) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #75   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          376       382    +6     
=========================================
+ Hits           376       382    +6     
Impacted Files Coverage Δ
src/job-builder.js 100.00% <ø> (ø)
src/index.js 100.00% <100.00%> (ø)
src/job-validator.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7be21b4...255f60a. Read the comment docs.

@shadowgate15 shadowgate15 force-pushed the refactor/tests branch 2 times, most recently from 59638b8 to 6a32fca Compare February 6, 2021 17:43
@shadowgate15
Copy link
Member Author

closes #82
closes #60

@shadowgate15 shadowgate15 merged commit 64676c7 into master Feb 6, 2021
@shadowgate15 shadowgate15 deleted the refactor/tests branch February 6, 2021 18:02
@niftylettuce
Copy link
Contributor

v5.0.0 released https://github.com/breejs/bree/releases/tag/v5.0.0 🎉 you all rock. thank you @shadowgate15 et all

@niftylettuce
Copy link
Contributor

hmm, @shadowgate15 builds are failing again https://travis-ci.com/github/breejs/bree/jobs/481063328

@snrmwg
Copy link
Contributor

snrmwg commented Feb 7, 2021

Adding test results here to simplify analysis:

1 Failing test, same for Node 10 and Node 12.

start › sets interval if date is in the future and interval is schedule ==> Promise returned by test never resolved

And test coverage of index.js is below 100%.

@snrmwg
Copy link
Contributor

snrmwg commented Feb 7, 2021

@niftylettuce @shadowgate15 when I run test suite locally with Node12 all tests are green. Quite strange. Any ideas for possible reason?

@shadowgate15
Copy link
Member Author

Travis CI sucks...

that is literally the only reason I have... I have probably spent 24+ hours trying to make them pass on CI... they won't show up on local...

@niftylettuce
Copy link
Contributor

tests seem to pass with this a7e6673 😄

@niftylettuce
Copy link
Contributor

v5.0.1 released, back to 100%!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants