Skip to content

Commit

Permalink
feat(ts-transform-plugin): initial require support
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed May 22, 2018
1 parent ef0803a commit 1aa3762
Show file tree
Hide file tree
Showing 5 changed files with 6,787 additions and 1,982 deletions.
13 changes: 13 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json"],
moduleNameMapper: {
"^@zerollup\/(.*?)$": "<rootDir>/packages/$1/src"
},
rootDir: __dirname,
testMatch: [
"<rootDir>/packages/*/__tests__/**/*spec.@(js|ts)?(x)",
],
transform: {
"^.+\\.tsx?$": "ts-jest"
}
};
Loading

0 comments on commit 1aa3762

Please sign in to comment.