File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
e2e/testcafe-devextreme/tests/common Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ fixture.disablePageReloads`Shadow DOM - Adopted DX css styles`
77const dxWidgetHostStyles = '.dx-widget-shadow { font-size: 20px; }' ;
88const 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
6666test ( '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
7878test ( '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 )
You can’t perform that action at this time.
0 commit comments