test: create jest.config,js file

This commit is contained in:
Ryan Mwangi 2024-11-20 15:19:13 +03:00
parent 174a845c78
commit c1c6ae47de
1 changed files with 7 additions and 0 deletions

7
jest.config.js Normal file
View File

@ -0,0 +1,7 @@
export default {
transform: {
'^.+\\.jsx?$': 'babel-jest',
},
moduleFileExtensions: ['js', 'jsx'],
testEnvironment: 'node',
};