Created
August 11, 2021 20:50
-
-
Save RageCage64/3b8e8fc56ce08b7df17868d18f19da28 to your computer and use it in GitHub Desktop.
mockStaticClass potential bug reproduction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
ImportMock, | |
StaticMockManager | |
} from "ts-mock-imports"; | |
import * as DynamoDBLibModule from "@aws-sdk/lib-dynamodb"; | |
let documentClientImportMock: StaticMockManager<DynamoDBLibModule.DynamoDBDocumentClient>; | |
describe("example", function() { | |
before(function() { | |
documentClientImportMock = ImportMock.mockStaticClass(DynamoDBLibModule, "DynamoDBDocumentClient"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment