Swap out mocha/chai for jest

This commit is contained in:
David Edmondson
2021-08-26 16:24:29 -07:00
parent 1a8bcf66cc
commit ab4863e7df
8 changed files with 12400 additions and 2481 deletions

9
jest.config.js Normal file
View File

@@ -0,0 +1,9 @@
module.exports = {
setupFiles: ["./jest.setup.js"],
moduleFileExtensions: ["ts", "tsx", "js", "jsx"],
transform: {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest",
},
// testMatch: ["**/?(*.)+(test).[jt]s?(x)"],
testEnvironment: "jsdom",
};