From 4b372eb70f9a02e0a1ee774d21b42e5153524457 Mon Sep 17 00:00:00 2001 From: siddtheone <45398971+siddtheone@users.noreply.github.com> Date: Wed, 25 Jan 2023 20:31:37 +0530 Subject: [PATCH 1/2] Removing unused import --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 37c7166..eb1b582 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,6 @@ test framework at all: ```js const request = require('supertest'); -const assert = require('assert'); const express = require('express'); const app = express(); From b81d3a41b02de85a5f27f1cff31875e9ada3df99 Mon Sep 17 00:00:00 2001 From: siddtheone <45398971+siddtheone@users.noreply.github.com> Date: Wed, 25 Jan 2023 22:35:26 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb1b582..e1b34a9 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ describe('GET /users', function() { .expect('Content-Type', /json/) .expect(200) .then(response => { - assert(response.body.email, 'foo@bar.com') + expect(response.body.email).toEqual('foo@bar.com'); }) }); });