Since version 0.10.0 of @web/test-runner-visual-regression typescript complains when trying to import visualDiff like: import { visualDiff } from '@web/test-runner-visual-regression'; (suggested by docs).
We assume that the index.d.ts which newly contains .mjs extension (export * from './browser/commands.mjs';) causes the problem. If the extension is removed, it works again.
Since version 0.10.0 of
@web/test-runner-visual-regression
typescript complains when trying to importvisualDiff
like:import { visualDiff } from '@web/test-runner-visual-regression';
(suggested by docs).We assume that the
index.d.ts
which newly contains.mjs
extension (export * from './browser/commands.mjs';
) causes the problem. If the extension is removed, it works again.Dependency update PR on our side with failing typescript: PR: https://github.com/sbb-design-systems/lyne-components/pull/3069 Logs: https://github.com/sbb-design-systems/lyne-components/actions/runs/10811479138/job/29990965173?pr=3069