Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
Signed-off-by: ZigaStrgar <ziga.strgar@gmail.com>
  • Loading branch information
ZigaStrgar committed May 27, 2022
1 parent 5959b77 commit d4b5e1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ import { Event } from '@bugsnag/js'
const apiKey = '00000000000000000000000000000000'

// eslint-disable-next-line @typescript-eslint/no-floating-promises
test('Plugin decorates the instance and request', async t => {
test('Plugin decorates the instance and request', t => {
t.plan(4)

const fastify = Fastify()
await fastify.register(plugin, {

// eslint-disable-next-line @typescript-eslint/no-floating-promises
fastify.register(plugin, {
apiKey
})

Expand Down

0 comments on commit d4b5e1f

Please sign in to comment.