I’m hoping to mock a component that loads some css using a require tag:
<template> <require from="./some.css"></require> ... other stuff foo does </template>
If I try to test this with the following setup…
componentTester = StageComponent .withResources('foo') .inView('<foo></foo>')
I get this error from jest:
Failed loading required CSS file: some.css
withResources('src/some.css') but that didn’t work.