Skip to content

Commit

Permalink
only mock setInterval timer in influx test
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Sep 14, 2024
1 parent 39a815f commit 641d129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/server.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ describe('The server', function () {
influx_password: 'influx-password',
},
})
clock = sinon.useFakeTimers()
clock = sinon.useFakeTimers({ toFake: ['setInterval'] })
baseUrl = server.baseUrl
await server.start()
})
Expand Down

0 comments on commit 641d129

Please sign in to comment.