Skip to content

web: Fix `mocha` types polluting non-mocha test files

Administrator requested to merge tr/fix-mocha-type-pollution into main

Created by: umpox

Description

Avoids importing types from Mocha which conflict with the global test types that Jest provides.

This fixes the immediate problem, it still isn't clear why window.context expects Mocha usage

Test plan

Before: image

After: image

Merge request reports

Loading