axios-mock : 1.21.2 : Eviter les erreurs TS1192: Module '"/__w/vie-scolaire/vie-scolaire/node_modules/axios-mock-adapter/types/index"' has no default export./__w/vie-scolaire/vie-scolaire/src/main/resources/public/modules/viescolaire/services/__tests__/timeslot-classe.service.test.ts
l'erreur est plus has no default export car la version axios actuel n'a pas d'export default
Checklist tests
./build.sh testNodeDev
Issue ticket number and link
Checklist before requesting a review (magic string, indentation, comment/documentation...)
[x] I have detailed the tests to do in my feature/fix in order to prevent consequents regressions (must specify in Checklist tests)
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (API Doc etc...) - (must specify in Description for target version)
[ ] If it is a consequent feature, I have added thorough tests.
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been added to this project (must specify in Description)
Describe your changes
TS1192: Module '"/__w/vie-scolaire/vie-scolaire/node_modules/axios-mock-adapter/types/index"' has no default export./__w/vie-scolaire/vie-scolaire/src/main/resources/public/modules/viescolaire/services/__tests__/timeslot-classe.service.test.ts
l'erreur est plushas no default export
car la version axios actuel n'a pas d'export defaultChecklist tests
./build.sh testNodeDev
Issue ticket number and link
Checklist before requesting a review (magic string, indentation, comment/documentation...)