aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/components/__tests__/LineWrapper-test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/design-system/src/components/__tests__/LineWrapper-test.tsx')
-rw-r--r--server/sonar-web/design-system/src/components/__tests__/LineWrapper-test.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/server/sonar-web/design-system/src/components/__tests__/LineWrapper-test.tsx b/server/sonar-web/design-system/src/components/__tests__/LineWrapper-test.tsx
index d994e0c0918..efefc2b476c 100644
--- a/server/sonar-web/design-system/src/components/__tests__/LineWrapper-test.tsx
+++ b/server/sonar-web/design-system/src/components/__tests__/LineWrapper-test.tsx
@@ -34,7 +34,7 @@ it('should properly setup css grid columns', () => {
});
expect(
setupWithProps({ displayCoverage: false, displaySCM: false, duplicationsCount: 0 }).container
- .firstChild
+ .firstChild,
).toHaveStyle({ '--columns': '44px 26px 1fr' });
});
@@ -45,12 +45,6 @@ it('should set a highlighted background color in css props', () => {
function setupWithProps(props: Partial<FCProps<typeof LineWrapper>> = {}) {
return render(
- <LineWrapper
- displayCoverage
- displaySCM
- duplicationsCount={2}
- highlighted={false}
- {...props}
- />
+ <LineWrapper displayCoverage displaySCM duplicationsCount={2} highlighted={false} {...props} />,
);
}