Bubbit / wct-istanbub

11 stars 5 forks source link

Coverage causes WCT crash when file contains more than one dom-module #30

Open kmackinnon opened 5 years ago

kmackinnon commented 5 years ago

Does wct-istanbub support multiple <dom-modules> within a file? It's working great in my Polymer 1 project for coverage on every file but one (which I currently need to exclude in wct.conf.js).

WCT version: 6.5.0 Browser: Chrome 75

Error looks like:

Tests failed: Error thrown outside of test function: Cannot read property '0' of undefined
  HTMLElement._onDisabledFlagChanged at /components/dir/another_dir/foo/bar.html:1811