Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 2, 2024
1 parent 60408c7 commit 2a85803
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/geoip.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ describe('haversine', function () {
})
})

describe.only('received_headers', function (done) {
describe('received_headers', function () {
beforeEach(function (done) {
this.plugin = new fixtures.plugin('geoip')
this.plugin.register().then(() => {
Expand All @@ -170,9 +170,9 @@ describe.only('received_headers', function (done) {

it('generates results for each received header', function () {
// console.log(this.connection.transaction)
this.connection.transaction.header.add_end('Received', 'from [199.176.179.3]');
this.connection.transaction.header.add_end('Received', 'from [192.48.85.146]');
const results = this.plugin.received_headers(this.connection);
this.connection.transaction.header.add_end('Received', 'from [199.176.179.3]')
this.connection.transaction.header.add_end('Received', 'from [192.48.85.146]')
const results = this.plugin.received_headers(this.connection)
console.log(results)
assert.equal(2, results.length)
})
Expand Down

0 comments on commit 2a85803

Please sign in to comment.