Skip to content

Commit

Permalink
move exports to the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmywarting committed Jan 4, 2022
1 parent a0a5d57 commit 17cf193
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
* Module dependencies.
*/

/**
* Expose `Agent`.
*/

module.exports = TestAgent;
const { agent: Agent } = require('superagent');
const methods = require('methods');
const http = require('http');
Expand Down Expand Up @@ -68,3 +63,9 @@ methods.forEach(function(method) {
});

TestAgent.prototype.del = TestAgent.prototype.delete;

/**
* Expose `Agent`.
*/

module.exports = TestAgent;

0 comments on commit 17cf193

Please sign in to comment.