Skip to content

Commit cdb0ad9

Browse files
committedJan 4, 2022
use explicit path
1 parent 19dcd1e commit cdb0ad9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/agent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
const { agent: Agent } = require('superagent');
88
const methods = require('methods');
99
const http = require('http');
10-
const Test = require('./test');
10+
const Test = require('./test.js');
1111

1212
/**
1313
* Initialize a new `TestAgent`.

‎test/supertest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22

3-
const request = require('..');
43
const https = require('https');
54
const fs = require('fs');
65
const path = require('path');
@@ -9,6 +8,7 @@ const express = require('express');
98
const bodyParser = require('body-parser');
109
const cookieParser = require('cookie-parser');
1110
const nock = require('nock');
11+
const request = require('../index.js');
1212

1313
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
1414

0 commit comments

Comments
 (0)
Please sign in to comment.