diff --git a/.gitignore b/.gitignore index ab84829..c5d44aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode node_modules -lib \ No newline at end of file +lib +coverage \ No newline at end of file diff --git a/jest.config.js b/jest.config.js index 1c2f24e..644f56c 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,8 @@ +const { defaults } = require("jest-config"); + /** @type {import('@jest/types').Config.InitialOptions} */ module.exports = () => ({ preset: "ts-jest", + moduleFileExtensions: [...defaults.moduleFileExtensions, "html"], + collectCoverage: true, });