Skip to content

Conversation

@siddtheone
Copy link
Contributor

Checklist

  • I have ensured my pull request is not behind the main or master branch of the original repository.
  • I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
  • I have written a commit message that passes commitlint linting.
  • I have ensured that my code changes pass linting tests.
  • I have ensured that my code changes pass unit tests.
  • I have described my pull request and the reasons for code changes along with context if necessary.

@rimiti
Copy link
Contributor

rimiti commented Jan 25, 2023

Hello @siddtheone ,

Thank your for your contribution but this import is use into below examples:
https://github.com/ladjs/supertest/blob/master/README.md?plain=1#L152

I close this issue.

Have a nice day, 👋

@siddtheone
Copy link
Contributor Author

siddtheone commented Jan 25, 2023

Hello @siddtheone ,

Thank your for your contribution but this import is use into below examples: https://github.com/ladjs/supertest/blob/master/README.md?plain=1#L152

I close this issue.

Have a nice day, 👋
It's not being used in the first snippet which says
https://github.com/ladjs/supertest/blob/master/README.md?plain=1#L32

I also think we can just replace
assert(response.body.email, '[email protected]')
with
expect(response.body.email).toEqual('[email protected]')

Like https://github.com/ladjs/supertest/blob/master/README.md?plain=1#L168

Copy link
Contributor

@lamweili lamweili left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants