mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-23 08:33:01 -05:00
feat: frontend unit tests
This commit is contained in:
9
frontend/jest.config.js
Normal file
9
frontend/jest.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/** @type {import("jest").Config} **/
|
||||
module.exports = {
|
||||
testEnvironment: 'jsdom',
|
||||
transform: {
|
||||
'^.+\\.tsx?$': 'ts-jest',
|
||||
'^.+\\.jsx?$': 'babel-jest',
|
||||
},
|
||||
collectCoverageFrom: ['src/**'],
|
||||
};
|
||||
Reference in New Issue
Block a user