mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #36575 from overleaf/mj-generic-modals-themes
[web] Add dark mode to ide modals GitOrigin-RevId: cd8e95e2286df46510a377ff9a69c4ab646ceabd
This commit is contained in:
committed by
Copybot
parent
8139638d9d
commit
1f9873e391
+9
-6
@@ -4,6 +4,7 @@ import { fireEvent, render, screen } from '@testing-library/react'
|
||||
import OutOfSyncModal from '@/features/ide-react/components/modals/out-of-sync-modal'
|
||||
import * as eventTracking from '@/infrastructure/event-tracking'
|
||||
import { location } from '@/shared/components/location'
|
||||
import { SplitTestProvider } from '@/shared/context/split-test-context'
|
||||
|
||||
describe('<OutOfSyncModal />', function () {
|
||||
let sendMBSpy: sinon.SinonSpy
|
||||
@@ -12,12 +13,14 @@ describe('<OutOfSyncModal />', function () {
|
||||
|
||||
const renderModal = (props: { show?: boolean } = {}) =>
|
||||
render(
|
||||
<OutOfSyncModal
|
||||
editorContent="offline content"
|
||||
show
|
||||
onHide={onHide}
|
||||
{...props}
|
||||
/>
|
||||
<SplitTestProvider>
|
||||
<OutOfSyncModal
|
||||
editorContent="offline content"
|
||||
show
|
||||
onHide={onHide}
|
||||
{...props}
|
||||
/>
|
||||
</SplitTestProvider>
|
||||
)
|
||||
|
||||
beforeEach(function () {
|
||||
|
||||
Reference in New Issue
Block a user