diff --git a/packages/components/.eslintignore b/packages/components/.eslintignore index 61a1507048..fa6ee59bad 100644 --- a/packages/components/.eslintignore +++ b/packages/components/.eslintignore @@ -6,4 +6,5 @@ www cypress stencil.config.ts cypress.config.js +jest.config.js .eslintrc.js diff --git a/packages/components/jest.config.js b/packages/components/jest.config.js new file mode 100644 index 0000000000..cbabb343a1 --- /dev/null +++ b/packages/components/jest.config.js @@ -0,0 +1,5 @@ +/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'jsdom', +};