Migrate batch of tests to vitest (#34106)
* Migrate autocomplete tests to vitest * Migrate utils/beacon tests to vitest * Migrate utils/device tests to vitest * Migrate utils/crypto tests to vitest * Migrate utils/localRoom tests to vitest * Migrate notifications tests to vitest * Fix types * Make jest test happy * Make sonar happier
This commit is contained in:
@@ -8,7 +8,7 @@ Please see LICENSE files in the repository root for full details.
|
||||
import { vi } from "vitest";
|
||||
import { mocked as jestMocked } from "jest-mock";
|
||||
|
||||
const isJest = typeof jest !== "undefined";
|
||||
export const isJest = typeof jest !== "undefined";
|
||||
|
||||
/**
|
||||
* Subset of the vitest API surface, with jest equivalents for the same functions when running under jest.
|
||||
|
||||
Reference in New Issue
Block a user