Skip to content

Commit

Permalink
Fix TS error on jest with satisfies keyword by switching to ts-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
na2hiro committed Jul 3, 2023
1 parent 11c0cf9 commit 3634172
Show file tree
Hide file tree
Showing 6 changed files with 6,553 additions and 16,193 deletions.
8 changes: 2 additions & 6 deletions config/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ const config: Config.InitialOptions = {
collectCoverageFrom: ["<rootDir>/src/**/*.ts"],
setupFilesAfterEnv: ["<rootDir>/config/jest/setup.ts"],
testMatch: ["<rootDir>/test/**/*.test.ts"],
transform: {
"\\.[jt]sx?$": [
"babel-jest",
{ configFile: "./config/jest/babel.config.js" },
],
},
preset: "ts-jest",
testEnvironment: "node",
};

export default config;
24 changes: 0 additions & 24 deletions config/jest/babel.config.js

This file was deleted.

Loading

0 comments on commit 3634172

Please sign in to comment.