Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Oct 2, 2024
1 parent 46e834e commit ba0c4bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/plugin-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ describe('GET /chart-tiles/:identifier/:z/:x/:y', () => {
testServer = server
})
)
afterEach(done => testServer.close(() => done()))
afterEach(done => {
plugin.stop()
testServer.close(() => done())
})

it('returns correct tile from MBTiles file', () => {
return plugin.start({})
Expand Down

0 comments on commit ba0c4bf

Please sign in to comment.