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

[now dev] Mix in routes query params when proxying to a URL #2330

Merged
merged 7 commits into from May 10, 2019

Conversation

TooTallNate
Copy link
Member

Fixes #2289.

@codecov-io
Copy link

codecov-io commented May 8, 2019

Codecov Report

Merging #2330 into canary will decrease coverage by 0.03%.
The diff coverage is 44.44%.

Impacted file tree graph

@@            Coverage Diff             @@
##           canary    #2330      +/-   ##
==========================================
- Coverage   10.67%   10.63%   -0.04%     
==========================================
  Files         247      247              
  Lines        9043     9051       +8     
  Branches      994      993       -1     
==========================================
- Hits          965      963       -2     
- Misses       7962     7978      +16     
+ Partials      116      110       -6
Impacted Files Coverage Δ
src/commands/dev/lib/dev-server.ts 41.16% <44.44%> (-1.73%) ⬇️
src/commands/dev/lib/dev-router.ts 73.58% <0%> (-5.67%) ⬇️
src/commands/dev/lib/builder-cache.ts 67.27% <0%> (-1.6%) ⬇️
src/util/output/create-output.ts 35.13% <0%> (ø) ⬆️
src/commands/dev/lib/nsfw-module.ts 79.66% <0%> (+5.08%) ⬆️
src/commands/dev/lib/yarn-installer.ts 87.75% <0%> (+6.12%) ⬆️

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 b53d907...b7eae0a. Read the comment docs.

@TooTallNate
Copy link
Member Author

Meh. Test is failing 😢

@leo leo merged commit 9ed897c into canary May 10, 2019
@leo leo deleted the fix/now-dev-proxy-pass-query-params branch May 10, 2019 11:09
leo pushed a commit that referenced this pull request May 20, 2019
* [now dev] Mix in routes query params when proxying to a URL

Fixes #2289.

* Refactor unit tests and add a unit test for proxy passing with query params

* Fix TypeScript compile error

* [DEBUG] Disable proxy pass unit test

* Run unit tests serially

* Remove `console.error()` in unit test

* Temporarily disable integration test "try to create a builds deployments with wrong config"
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.

Route parameters not passed to getInitialProps({ query }) (NextJS)
3 participants