File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
__tests__/components/sections/homepage/_partials Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ describe("CommunityStats", () => {
18
18
expect ( screen . getByText ( stat . title ) ) . toBeInTheDocument ( ) ;
19
19
expect ( screen . getByText ( stat . title ) . textContent ) . toBe ( stat . title . toString ( ) ) ;
20
20
expect ( screen . getByText ( stat . description ) ) . toBeInTheDocument ( ) ;
21
- expect ( screen . getByText ( stat . description ) . textContent ) . toBe ( ( stat . title + " " + stat . description ) . toString ( ) ) ;
21
+ expect ( screen . getByText ( stat . description ) . textContent ) . toBe ( ` ${ stat . title } ${ stat . description } ` ) ;
22
22
} ) ;
23
23
} ) ;
24
24
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import "@testing-library/jest-dom";
3
3
import { render , screen } from "@testing-library/react" ;
4
4
import _ from "lodash" ;
5
5
6
- export const fixtureTestimonials = {
6
+ const fixtureTestimonials = {
7
7
content : "testimonials content" ,
8
8
icon : "/testimonials-icon" ,
9
9
} ;
You can’t perform that action at this time.
0 commit comments