Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 470
chore(repo): Remove jest leftovers#8232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
60d115fdb2c4cb31858d182d0d9445b29ec19a6367cfb7b21File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| --- | ||
| --- |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,7 @@ | ||
| import { vi } from 'vitest'; | ||
| // `jest-chrome` directly references the `jest` global | ||
| (globalThis as any).jest = vi; | ||
| import * as vitestChrome from 'vitest-chrome'; | ||
| import { chrome } from 'jest-chrome'; | ||
| const { chrome } = vitestChrome; | ||
| // @ts-expect-error - required for the browser polyfill | ||
| chrome.runtime.id = 'chrome-extension-test'; | ||
| Object.assign(global, { chrome, browser: chrome }); | ||
| Object.assign(globalThis, vitestChrome, { browser: chrome }); |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vitest-chrome's default package entry is CommonJS. We need the ESM build