Skip to content

Commit

Permalink
refresh several dependencies and reconfigure tests to stop using esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
toloudis committed Oct 23, 2023
1 parent 19bcbed commit 931a7cb
Show file tree
Hide file tree
Showing 5 changed files with 21,843 additions and 5,944 deletions.
8 changes: 8 additions & 0 deletions babel-jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
presets: [
"@babel/preset-env",
"@babel/preset-typescript",
"@babel/preset-react",
],
plugins: ["@babel/transform-runtime", "babel-plugin-transform-import-meta"],
};
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
module.exports = {
preset: "ts-jest",
transform: {
"^.+\\.(ts|tsx|js|jsx)$": ["esbuild-jest"],
"^.+\\.[tj]sx?$": [
"babel-jest",
{ configFile: "./babel-jest.config.js" },
],
},
moduleFileExtensions: ["js", "jsx", "ts", "tsx"],
testEnvironment: "jsdom",
Expand Down
Loading

0 comments on commit 931a7cb

Please sign in to comment.