File tree 3 files changed +6
-6
lines changed
cypress/component/advanced/lazy-loaded-suspense
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const LazyComponent: React.FC<LazyComponentProps> = () => {
11
11
return (
12
12
< div >
13
13
Loading a dog:
14
- < React . Suspense fallback = { ' loading...' } >
14
+ < React . Suspense fallback = " loading..." >
15
15
< LazyDog />
16
16
</ React . Suspense >
17
17
</ div >
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ export default [
9
9
files : [ 'src/createMount.ts' ] ,
10
10
rules : {
11
11
'cypress/no-unnecessary-waiting' : 'warn' ,
12
- }
12
+ } ,
13
13
} ,
14
14
{
15
15
rules : {
16
16
'react/prop-types' : 'warn' ,
17
- }
18
- }
19
- ]
17
+ } ,
18
+ } ,
19
+ ]
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export const makeMountFn = (
77
77
// by waiting, we delaying test execution for the next tick of event loop
78
78
// and letting hooks and component lifecycle methods to execute mount
79
79
// https://github.com/bahmutov/cypress-react-unit-test/issues/200
80
- . wait ( 0 , { log : false } ) // eslint-disable-line cypress/no-unnecessary-waiting
80
+ . wait ( 0 , { log : false } )
81
81
. then ( ( ) => {
82
82
if ( options . log !== false ) {
83
83
// Get the display name property via the component constructor
You can’t perform that action at this time.
0 commit comments