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

fix(stable-results): Order results to protect against changing result… #231

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

matthew-contentful
Copy link
Contributor

… set ordering. Increase page size for better performance

… set ordering. Increase page size for better performance
@codecov
Copy link

codecov bot commented Nov 1, 2019

Codecov Report

Merging #231 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #231   +/-   ##
=======================================
  Coverage   86.79%   86.79%           
=======================================
  Files          97       97           
  Lines        2666     2666           
  Branches      321      321           
=======================================
  Hits         2314     2314           
  Misses        257      257           
  Partials       95       95
Impacted Files Coverage Δ
src/lib/fetcher.ts 95.58% <ø> (ø) ⬆️

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 70462a5...8ae6b75. Read the comment docs.

Copy link
Contributor

@TimBeyer TimBeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally 👍
Would be cool if we could do that constant thing, but not sure if that's somehow tricky with the fixtures.

@@ -151,6 +151,8 @@ export default class Fetcher implements APIFetcher {

while (true) {
const paramsWithSkip = {
limit: '500',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe let's factor this out into a constant so we can adapt this in the future without having to manually change all these tests another time

@matthew-contentful matthew-contentful merged commit b79b50f into master Nov 4, 2019
@phoebeschmidt
Copy link
Contributor

🎉 This PR is included in version 1.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants