Skip to content

Commit dec021f

Browse files
committed
chore: lintts
1 parent bc9d4c7 commit dec021f

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

packages/nhsNotifyUpdateCallback/tests/testHelpers.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import {
44
it,
55
beforeEach,
66
afterEach,
7-
expect
7+
expect,
8+
type MockInstance
89
} from "vitest"
910
import {createHmac} from "crypto"
1011

@@ -39,7 +40,7 @@ const ORIGINAL_ENV = {...process.env}
3940

4041
describe("helpers.ts", () => {
4142
// Keep this broad to avoid over-constraining overloaded AWS SDK client signatures in tests.
42-
let sendSpy: any
43+
let sendSpy: MockInstance<DynamoDBDocumentClient["send"]>
4344

4445
beforeEach(() => {
4546
vi.resetModules()

packages/psuRestoreValidationLambda/tests/compareTable.test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
import {DynamoDBDocumentClient} from "@aws-sdk/lib-dynamodb"
2-
import {beforeEach, describe, expect, it, vi, type Mocked} from "vitest"
2+
import {
3+
beforeEach,
4+
describe,
5+
expect,
6+
it,
7+
vi,
8+
type Mocked
9+
} from "vitest"
310
import {Logger} from "@aws-lambda-powertools/logger"
411

512
const mockSend = vi.fn()

0 commit comments

Comments
 (0)