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

task: added support for cookies in request #195

Merged
merged 2 commits into from
Jul 4, 2022

Conversation

gustavogr
Copy link
Collaborator

@gustavogr gustavogr commented Jul 4, 2022

Added support to send cookies with the request:

const { body } = await tepper(app)
  .get("/")
  .withCookies({
    cookieName: 'My-Cookie-Value',
  })
  .run()

@codecov-commenter
Copy link

codecov-commenter commented Jul 4, 2022

Codecov Report

Merging #195 (aceeb45) into main (6abf5b8) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
+ Coverage   96.33%   96.44%   +0.11%     
==========================================
  Files          11       11              
  Lines         191      197       +6     
  Branches       40       40              
==========================================
+ Hits          184      190       +6     
  Misses          6        6              
  Partials        1        1              
Impacted Files Coverage Δ
src/tepper.ts 100.00% <ø> (ø)
src/TepperBuilder.ts 93.75% <100.00%> (+0.27%) ⬆️
src/TepperRunner.ts 98.48% <100.00%> (+0.09%) ⬆️

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 6abf5b8...aceeb45. Read the comment docs.

@DanielRamosAcosta
Copy link
Owner

great PR @gustavogr 😄 :shipit:

@DanielRamosAcosta DanielRamosAcosta merged commit 770b4e8 into main Jul 4, 2022
@DanielRamosAcosta DanielRamosAcosta deleted the feature/add-cookies branch July 4, 2022 16:09
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.

3 participants