diff --git a/packages/magic-sdk/jest.config.ts b/packages/magic-sdk/jest.config.ts index 420bd0565..ff028c701 100644 --- a/packages/magic-sdk/jest.config.ts +++ b/packages/magic-sdk/jest.config.ts @@ -1 +1,16 @@ -export { default } from '../../jest.config'; +import JestConfig from '../../jest.config'; +import type { Config } from '@jest/types'; + +const config: Config.InitialOptions = { + ...JestConfig, + + coverageThreshold: { + global: { + lines: 70, + statements: 70, + functions: 55, + branches: 70, + }, + }, +}; +export default config; diff --git a/packages/magic-sdk/src/iframe-controller.ts b/packages/magic-sdk/src/iframe-controller.ts index 156235091..5b4ce69e7 100644 --- a/packages/magic-sdk/src/iframe-controller.ts +++ b/packages/magic-sdk/src/iframe-controller.ts @@ -2,6 +2,7 @@ /* eslint-disable no-unused-expressions */ import { ViewController, createDuplicateIframeWarning, createURL, createModalNotReadyError } from '@magic-sdk/provider'; +import { MagicIncomingWindowMessage, MagicOutgoingWindowMessage } from '@magic-sdk/types'; /** * Magic `