Move more element-web tests over to vitest (#33845)
* Move more element-web tests over to vitest Switches default env to happy-dom as SdkConfig needs a DOM and is part of the setupTests given a lot of code relies on it * Restore jest variant of editor mock file for tests not yet moved over * Migrate batch of tests tro vitest * Iterate * Migrate another test * Simplify * Iterate * Iterate * Fix lockfile * Deduplicate * Iterate
This commit is contained in:
@@ -25,5 +25,6 @@ if (globalThis.window === undefined) {
|
||||
// things try to access it before the beforeEach blocks run)
|
||||
addEventListener: vi.fn(),
|
||||
location: locationStub,
|
||||
setTimeout: globalThis.setTimeout,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user