Skip to content

Commit 430e14b

Browse files
chore(deps): update dependency @sinonjs/fake-timers to v15.3.2 (#732)
* chore(deps): update dependency @sinonjs/fake-timers to v15.3.2 * Fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Xiao <michael.xiao@smartcontract.com>
1 parent aac4c11 commit 430e14b

15 files changed

Lines changed: 18 additions & 18 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"create-external-adapter": "adapter-generator.js"
3838
},
3939
"devDependencies": {
40-
"@sinonjs/fake-timers": "15.1.1",
40+
"@sinonjs/fake-timers": "15.3.2",
4141
"@types/node": "24.12.2",
4242
"@types/sinonjs__fake-timers": "15.0.1",
4343
"@types/ws": "8.18.1",

src/util/testing-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { ExecutionContext } from 'ava'
33
import { FastifyInstance } from 'fastify'
44
import { ReplyError } from 'ioredis'

test/background-executor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from './helper'
33
import untypedTest, { TestFn } from 'ava'
44
import { start } from '../src'

test/cache/local.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from '../helper'
33
import untypedTest, { TestFn } from 'ava'
44
import { Adapter, AdapterDependencies, AdapterEndpoint } from '../../src/adapter'

test/cache/response-cache.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from '../helper'
33
import untypedTest, { TestFn } from 'ava'
44
import { FastifyInstance } from 'fastify'

test/metrics/metrics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from '../helper'
33
import untypedTest, { TestFn } from 'ava'
44
import axios from 'axios'

test/metrics/polling-metrics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from '../helper'
33
import untypedTest, { TestFn } from 'ava'
44
import { TestAdapter } from '../../src/util/testing-utils'

test/metrics/por-metrics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from '../helper'
33
import untypedTest, { TestFn } from 'ava'
44
import { NopTransport, TestAdapter } from '../../src/util/testing-utils'

test/metrics/warmer-metrics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from '../helper'
33
import untypedTest, { TestFn } from 'ava'
44
import axios from 'axios'

test/metrics/ws-metrics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { InstalledClock } from '@sinonjs/fake-timers'
1+
import { Clock as InstalledClock } from '@sinonjs/fake-timers'
22
import { installTimers } from '../helper'
33
import untypedTest, { TestFn } from 'ava'
44
import { Server } from 'mock-socket'

0 commit comments

Comments
 (0)