Skip to content

Commit

Permalink
Fix an import in request.js
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Jul 27, 2023
1 parent 5f7daaa commit 4be40b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nightwatch/commands/supertest/request.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const EventEmitter = require('events');
const methods = require('methods');
const request = require('supertest');
const {Logger} = require('nightwatch/lib/utils');
const {Logger} = require('nightwatch');

module.exports = class SuperTest extends EventEmitter {
static createRequestFn(context) {
Expand Down Expand Up @@ -79,4 +79,4 @@ module.exports = class SuperTest extends EventEmitter {
}
}

module.exports.autoInvoke = true;
module.exports.autoInvoke = true;

0 comments on commit 4be40b8

Please sign in to comment.