Skip to content

Commit

Permalink
chore(deps-dev): bump sinon from 18.0.0 to 19.0.2 (#10536)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump sinon from 18.0.0 to 19.0.2

Bumps [sinon](https://github.com/sinonjs/sinon) from 18.0.0 to 19.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v18.0.0...v19.0.2)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* only mock setInterval timer in influx test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <git@chris-shaw.dev>
  • Loading branch information
dependabot[bot] and chris48s authored Sep 14, 2024
1 parent 103921d commit 8cd2718
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 36 deletions.
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
86 changes: 52 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
"rimraf": "^6.0.1",
"sazerac": "^2.0.0",
"simple-git-hooks": "^2.11.1",
"sinon": "^18.0.0",
"sinon": "^19.0.2",
"sinon-chai": "^3.7.0",
"snap-shot-it": "^7.9.10",
"start-server-and-test": "2.0.7",
Expand Down

0 comments on commit 8cd2718

Please sign in to comment.