You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We develop Lit web-components and every component has a component.test.ts file next to it. I created a controller and I can't create a config that lets me use the real controller in the attribute-reflector.controller.test.ts file and the mock in the rest. I don't want to test the controller in the component test, I just want to check if the components initialise it with the correct options, and calls the targetChange method when the slotted element changes.
I've tried adding another config in the inject array, defining the include the exclude filters, scoping, I've tried groups and overriding the plugins, but include, exclude and scoping works only on html files which we don't have, and the groups inherits the default plugins config.
The text was updated successfully, but these errors were encountered:
Our setup web-test-runner.config.js
We develop Lit web-components and every component has a
component.test.ts
file next to it. I created a controller and I can't create a config that lets me use the real controller in theattribute-reflector.controller.test.ts
file and the mock in the rest. I don't want to test the controller in the component test, I just want to check if the components initialise it with the correct options, and calls the targetChange method when the slotted element changes.I've tried adding another config in the inject array, defining the include the exclude filters, scoping, I've tried groups and overriding the plugins, but include, exclude and scoping works only on html files which we don't have, and the groups inherits the default plugins config.
The text was updated successfully, but these errors were encountered: