Skip to content

Commit

Permalink
chore: update @sinonjs/fake-timers
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Dec 2, 2022
1 parent eb2dbb0 commit c9fca99
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
"/LICENSE"
],
"devDependencies": {
"@sinonjs/fake-timers": "^7.1.2",
"@sinonjs/fake-timers": "^10.0.0",
"@sofie-automation/code-standard-preset": "~2.1.0",
"@types/debug": "^4.1.7",
"@types/jest": "^29.2.0",
"@types/node": "^14.18.22",
"@types/object-path": "^0.11.1",
"@types/sinon": "^10.0.13",
"@types/sinonjs__fake-timers": "^6.0.4",
"@types/sinonjs__fake-timers": "^8.1.2",
"jest": "^29.2.2",
"jest-extended": "^3.1.0",
"object-path": "^0.11.8",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/__tests__/atemSocket.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const ThreadedClassManagerSingleton = new ThreadedClassManagerMock()
jest.spyOn(ThreadedClassManager, 'onEvent').mockImplementation(ThreadedClassManagerSingleton.onEvent)

describe('AtemSocket', () => {
let clock: fakeTimers.Clock
let clock: fakeTimers.InstalledClock

function mockClear(lite?: boolean): void {
;(AtemSocketChild as any).mockClear()
Expand Down
2 changes: 1 addition & 1 deletion src/lib/__tests__/socket-child.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function createSocketChild(
}

describe('SocketChild', () => {
let clock: fakeTimers.Clock
let clock: fakeTimers.InstalledClock
beforeEach(() => {
clock = fakeTimers.install()
})
Expand Down
16 changes: 9 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,14 @@
dependencies:
type-detect "4.0.8"

"@sinonjs/fake-timers@^7.0.4", "@sinonjs/fake-timers@^7.1.2":
"@sinonjs/fake-timers@^10.0.0":
version "10.0.0"
resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.0.0.tgz#b6fe200d1d44f70d430d200d4dd85c640e576e2e"
integrity sha512-OjRc0IcyLLGLmu/vkJmqEYULU2mG/S7dLxPD+aONYWvTX7yia4mxKHs8Lz1ymfDv8KX3Adp/kRWUxi19ouaPsg==
dependencies:
"@sinonjs/commons" "^2.0.0"

"@sinonjs/fake-timers@^7.0.4":
version "7.1.2"
resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-7.1.2.tgz#2524eae70c4910edccf99b2f4e6efc5894aff7b5"
integrity sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg==
Expand Down Expand Up @@ -843,16 +850,11 @@
dependencies:
"@types/sinonjs__fake-timers" "*"

"@types/sinonjs__fake-timers@*":
"@types/sinonjs__fake-timers@*", "@types/sinonjs__fake-timers@^8.1.2":
version "8.1.2"
resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz#bf2e02a3dbd4aecaf95942ecd99b7402e03fad5e"
integrity sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==

"@types/sinonjs__fake-timers@^6.0.4":
version "6.0.4"
resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.4.tgz#0ecc1b9259b76598ef01942f547904ce61a6a77d"
integrity sha512-IFQTJARgMUBF+xVd2b+hIgXWrZEjND3vJtRCvIelcFB5SIXfjV4bOHbHJ0eXKh+0COrBRc8MqteKAz/j88rE0A==

"@types/stack-utils@^2.0.0":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c"
Expand Down

0 comments on commit c9fca99

Please sign in to comment.