-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: setup test config for testing views
For reasons the author of this commit doesn't understand, ts-jest won't work with '@mturley-latest/react-table-batteries', which is used on all views. But it worked just fine with babel-jest. So now we have this frankenstein config, using both.
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
module.exports = {}; | ||
|
||
module.exports = (api) => { | ||
api.cache(true) | ||
const presets = ["@babel/preset-react", "@babel/preset-env"]; | ||
const plugins = ["@babel/plugin-transform-modules-commonjs"]; | ||
|
||
return { | ||
presets, | ||
plugins | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters