Skip to content

Commit 5c5194d

Browse files
committed
chore: replace DOM to Dom
1 parent 2bd718b commit 5c5194d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e/testcafe-devextreme/tests/common/shadowDOM.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fixture.disablePageReloads`Shadow DOM - Adopted DX css styles`
77
const dxWidgetHostStyles = '.dx-widget-shadow { font-size: 20px; }';
88
const dxWidgetShadowStyles = '.dx-widget-shadow { font-size: 40px; }';
99

10-
const setupShadowDOMTest = (copyStylesToShadowDom) => ClientFunction((copyStyles) => {
10+
const setupShadowDomTest = (copyStylesToShadowDom) => ClientFunction((copyStyles) => {
1111
if (!copyStyles) {
1212
(window as any).DevExpress.config({ copyStylesToShadowDom: copyStyles });
1313
}
@@ -64,7 +64,7 @@ const getAdoptedStyleSheets = ClientFunction(() => {
6464
});
6565

6666
test('Copies DX css styles from the host to the shadow root when rendering a DX widget', async (t) => {
67-
await setupShadowDOMTest(true);
67+
await setupShadowDomTest(true);
6868

6969
const { firstSheetRules, secondSheetRules } = await getAdoptedStyleSheets();
7070

@@ -76,7 +76,7 @@ test('Copies DX css styles from the host to the shadow root when rendering a DX
7676
});
7777

7878
test('Does not copy DX css styles when copyStylesToShadowDom is disabled', async (t) => {
79-
await setupShadowDOMTest(false);
79+
await setupShadowDomTest(false);
8080

8181
const { firstSheetRules, secondSheetRules } = await getAdoptedStyleSheets();
8282
await t.expect(firstSheetRules === null && secondSheetRules === null)

0 commit comments

Comments
 (0)