maintenance: add jest as unit test

This commit is contained in:
MengYX
2021-12-14 15:39:52 +08:00
parent 8facd65834
commit ada078df19
6 changed files with 113 additions and 130 deletions

5
jest.config.js Normal file
View File

@@ -0,0 +1,5 @@
module.exports = {
moduleNameMapper: {
'@/(.*)': '<rootDir>/src/$1'
}
};