Skip to content

Commit

Permalink
[test] Improve visual screenshot canva
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 6, 2024
1 parent ee92079 commit f0bda78
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/regressions/TestViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ function TestViewer(props) {
{/* eslint-disable-next-line react/no-danger */}
<style dangerouslySetInnerHTML={{ __html: globalStyles }} />
<React.Suspense fallback={<div aria-busy />}>
<div
aria-busy={!ready}
data-testid="testcase"
style={{ backgroundColor: '#fff', display: 'inline-block', padding: '8px' }}
>
<div aria-busy={!ready} data-testid="testcase" style={{ display: 'block', padding: '8px' }}>
{children}
</div>
</React.Suspense>
Expand Down

0 comments on commit f0bda78

Please sign in to comment.