We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19dcd1e commit cdb0ad9Copy full SHA for cdb0ad9
lib/agent.js
@@ -7,7 +7,7 @@
7
const { agent: Agent } = require('superagent');
8
const methods = require('methods');
9
const http = require('http');
10
-const Test = require('./test');
+const Test = require('./test.js');
11
12
/**
13
* Initialize a new `TestAgent`.
test/supertest.js
@@ -1,6 +1,5 @@
1
'use strict';
2
3
-const request = require('..');
4
const https = require('https');
5
const fs = require('fs');
6
const path = require('path');
@@ -9,6 +8,7 @@ const express = require('express');
const bodyParser = require('body-parser');
const cookieParser = require('cookie-parser');
const nock = require('nock');
+const request = require('../index.js');
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
14
0 commit comments