Skip to content

Commit 0ff9c02

Browse files
authoredJan 14, 2024
Merge pull request #828 from 9renpoto/9renpoto-patch-1
fix(package): rename repository URL
2 parents c1b8f9d + 2cba6d4 commit 0ff9c02

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"main": "index.js",
4242
"repository": {
4343
"type": "git",
44-
"url": "https://github.com/visionmedia/supertest.git"
44+
"url": "https://github.com/ladjs/supertest.git"
4545
},
4646
"scripts": {
4747
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",

‎test/supertest.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -765,9 +765,9 @@ describe('request(app)', function () {
765765
});
766766
});
767767

768-
// this scenario should never happen after https://github.com/visionmedia/supertest/pull/767
768+
// this scenario should never happen after https://github.com/ladjs/supertest/pull/767
769769
// meant for test coverage for lib/test.js#287
770-
// https://github.com/visionmedia/supertest/blob/e064b5ae71e1dfa3e1a74745fda527ac542e1878/lib/test.js#L287
770+
// https://github.com/ladjs/supertest/blob/e064b5ae71e1dfa3e1a74745fda527ac542e1878/lib/test.js#L287
771771
it('_assertFunction should catch and return error', function (done) {
772772
const error = new Error('failed');
773773
const returnedError = get
@@ -1306,7 +1306,7 @@ describe('request.get(url).query(vals) works as expected', function () {
13061306
.get('/')
13071307
// This expect should never get called, but exposes this issue with other
13081308
// errors being obscured by the response assertions
1309-
// https://github.com/visionmedia/supertest/issues/352
1309+
// https://github.com/ladjs/supertest/issues/352
13101310
.expect(200)
13111311
.end(function (err, res) {
13121312
should.exist(err);
@@ -1323,7 +1323,7 @@ describe('request.get(url).query(vals) works as expected', function () {
13231323
// this scenario should never happen
13241324
// there shouldn't be any res if there is an err
13251325
// meant for test coverage for lib/test.js#169
1326-
// https://github.com/visionmedia/supertest/blob/5543d674cf9aa4547927ba6010d31d9474950dec/lib/test.js#L169
1326+
// https://github.com/ladjs/supertest/blob/5543d674cf9aa4547927ba6010d31d9474950dec/lib/test.js#L169
13271327
it('handles unknown errors (err with res)', function (done) {
13281328
const app = express();
13291329

0 commit comments

Comments
 (0)
Please sign in to comment.