diff --git a/jest.config.js b/jest.config.js index dcb0507..7e02856 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,7 +7,7 @@ module.exports = { // [...] preset: 'ts-jest/presets/default-esm', // or other ESM presets transform: { - '^.+\\.tsx?$': [ + '\\.ts$': [ 'ts-jest', { useESM: true, diff --git a/package.json b/package.json index 8ef2f5f..816112c 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "release": " git add package.json && git commit -m \"chore(release): v$npm_package_version :tada:\"", "prebuild": "pnpm clean", "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md", - "prepublishOnly": "pnpm test && pnpm build" + "prepublishOnly": "pnpm test -- --no-cache && pnpm build" }, "files": [ "dist/"