Skip to content

Commit

Permalink
init: add mjml snapshot testing
Browse files Browse the repository at this point in the history
  • Loading branch information
danstarns committed Jul 30, 2024
1 parent 7fe709e commit cf592e5
Show file tree
Hide file tree
Showing 9 changed files with 15,784 additions and 3,488 deletions.
7 changes: 7 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
env: {
test: {
presets: ["@babel/preset-env", "@babel/preset-typescript"],
},
},
};
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
moduleFileExtensions: ["js", "ts"],
verbose: true,
modulePaths: ["<rootDir>/src"],
testMatch: ["<rootDir>/tests/specs/**/*.(t|j)s"],
setupFiles: ["<rootDir>/tests/setup.js"],
};
Loading

0 comments on commit cf592e5

Please sign in to comment.