From 79a69b667633b8629a644393b2d4f7430f807cac Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Wed, 6 Dec 2023 10:11:40 +0900 Subject: [PATCH 1/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2db9447..980d155 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "main": "index.js", "repository": { "type": "git", - "url": "https://github.com/visionmedia/supertest.git" + "url": "https://github.com/ladjs/supertest.git" }, "scripts": { "coverage": "nyc report --reporter=text-lcov > coverage.lcov", From 2cba6d4c03634629f7d790ed6425ba039a2cd3ea Mon Sep 17 00:00:00 2001 From: Keisuke Umeno <9renpoto@gmail.com> Date: Sun, 14 Jan 2024 17:00:23 +0900 Subject: [PATCH 2/2] si/visionmedia/ladjs/ --- test/supertest.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/supertest.js b/test/supertest.js index 57a7036..9eebf31 100644 --- a/test/supertest.js +++ b/test/supertest.js @@ -765,9 +765,9 @@ describe('request(app)', function () { }); }); - // this scenario should never happen after https://github.com/visionmedia/supertest/pull/767 + // this scenario should never happen after https://github.com/ladjs/supertest/pull/767 // meant for test coverage for lib/test.js#287 - // https://github.com/visionmedia/supertest/blob/e064b5ae71e1dfa3e1a74745fda527ac542e1878/lib/test.js#L287 + // https://github.com/ladjs/supertest/blob/e064b5ae71e1dfa3e1a74745fda527ac542e1878/lib/test.js#L287 it('_assertFunction should catch and return error', function (done) { const error = new Error('failed'); const returnedError = get @@ -1306,7 +1306,7 @@ describe('request.get(url).query(vals) works as expected', function () { .get('/') // This expect should never get called, but exposes this issue with other // errors being obscured by the response assertions - // https://github.com/visionmedia/supertest/issues/352 + // https://github.com/ladjs/supertest/issues/352 .expect(200) .end(function (err, res) { should.exist(err); @@ -1323,7 +1323,7 @@ describe('request.get(url).query(vals) works as expected', function () { // this scenario should never happen // there shouldn't be any res if there is an err // meant for test coverage for lib/test.js#169 - // https://github.com/visionmedia/supertest/blob/5543d674cf9aa4547927ba6010d31d9474950dec/lib/test.js#L169 + // https://github.com/ladjs/supertest/blob/5543d674cf9aa4547927ba6010d31d9474950dec/lib/test.js#L169 it('handles unknown errors (err with res)', function (done) { const app = express();