Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
frakti committed Sep 17, 2020
1 parent 185de4f commit defcb65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Consents.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module.exports = class Consents {
}

list (callback) {
return this.client.get(`/consents`, null, callback)
return this.client.get('/consents', null, callback)
}
}
11 changes: 5 additions & 6 deletions test/consents-api.spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/* eslint-env mocha */
/* eslint-disable no-unused-expressions */

var nock = require('nock')
var { expect } = require('chai')
var VoucherifyClient = require('./client-loader')
var fixtures = require('./fixtures')
var reqWithoutBody = fixtures.reqWithoutBody
var reqWithBody = fixtures.reqWithBody
const nock = require('nock')
const { expect } = require('chai')
const VoucherifyClient = require('./client-loader')
const fixtures = require('./fixtures')
const reqWithoutBody = fixtures.reqWithoutBody

nock.disableNetConnect()

Expand Down

0 comments on commit defcb65

Please sign in to comment.