Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ladjs/supertest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.0
Choose a base ref
...
head repository: ladjs/supertest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.1
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Nov 4, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f635fce View commit details
  2. Merge pull request #682 from vukanac/master

    Fix formatting for code blocks in README.md
    niftylettuce authored Nov 4, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a4c4596 View commit details
  3. 6.0.1

    niftylettuce committed Nov 4, 2020
    Copy the full SHA
    30b7210 View commit details
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +1 −1 package-lock.json
  3. +1 −1 package.json
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ describe('GET /user', function() {

You can use `auth` method to pass HTTP username and password in the same way as in the [superagent](http://visionmedia.github.io/superagent/#authentication):

```js
```js
describe('GET /user', function() {
it('responds with json', function(done) {
request(app)
@@ -213,7 +213,7 @@ There is another example that is introduced by the file [agency.js](https://gith

Here is an example where 2 cookies are set on the request.

```js
```js
agent(app)
.get('/api/content')
.set('Cookie', ['nameOne=valueOne;nameTwo=valueTwo'])
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supertest",
"version": "6.0.0",
"version": "6.0.1",
"description": "SuperAgent driven library for testing HTTP servers",
"main": "index.js",
"author": "TJ Holowaychuk",