This commit is contained in:
hackrobot
2024-03-19 12:39:30 +08:00
parent 7a453ad502
commit dcca573450
22 changed files with 367 additions and 0 deletions

6
jest.config.js Normal file
View File

@@ -0,0 +1,6 @@
const defineJestConfig = require('@tarojs/test-utils-react/dist/jest.js').default
module.exports = defineJestConfig({
testEnvironment: 'jsdom',
testMatch: ['<rootDir>/__tests__/**/*.(spec|test).[jt]s?(x)']
})