Skip to content

Commit 6b41374

Browse files
authoredJan 14, 2024
Merge pull request #814 from siddtheone/patch-1
Removing unused import
2 parents 0ff9c02 + b81d3a4 commit 6b41374

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ test framework at all:
3434

3535
```js
3636
const request = require('supertest');
37-
const assert = require('assert');
3837
const express = require('express');
3938

4039
const app = express();
@@ -149,7 +148,7 @@ describe('GET /users', function() {
149148
.expect('Content-Type', /json/)
150149
.expect(200)
151150
.then(response => {
152-
assert(response.body.email, 'foo@bar.com')
151+
expect(response.body.email).toEqual('foo@bar.com');
153152
})
154153
});
155154
});

0 commit comments

Comments
 (0)
Please sign in to comment.