Skip to content

Commit

Permalink
Update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
coopflow committed Aug 22, 2019
1 parent d0df738 commit 1c7d5d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ test('Should create a new stripe customer with multiple named Stripe instance',
t.ok(fastify.stripe)
t.ok(fastify.stripe.test.customers)

fastify.stripe['test'].customers.create({ email: 'demo@demo.tld' }, function (err, customers) {
fastify.stripe.test.customers.create({ email: 'demo@demo.tld' }, function (err, customers) {
if (err) {
t.fail()
}
Expand Down Expand Up @@ -212,6 +212,6 @@ test('Should throw when trying to register multiple instances without giving a n
})

fastify.ready(errors => {
t.is(errors.message, `fastify-stripe has already been registered`)
t.is(errors.message, 'fastify-stripe has already been registered')
})
})

0 comments on commit 1c7d5d4

Please sign in to comment.