I found the solution. Add the following to your setupTests.ts
file:
// Disable rendering of certain components which have issues running in jsdom
// @ts-ignore
window.Ionic = {
config: {
_testing: true,
},
};
I found the solution. Add the following to your setupTests.ts
file:
// Disable rendering of certain components which have issues running in jsdom
// @ts-ignore
window.Ionic = {
config: {
_testing: true,
},
};