Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230876

Unit tests failing on Github Actions

$
0
0

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,
  },
};

Viewing all articles
Browse latest Browse all 230876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>