File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ describe("navigation pages", () => {
78
78
} ) ;
79
79
80
80
//Reason: not enabled yet
81
- test . skip ( "it render the JOB OFFERS page" , async ( ) => {
81
+ test ( "it render the JOB OFFERS page" , async ( ) => {
82
82
render (
83
83
< React . Suspense fallback = { < span > Loading...</ span > } >
84
84
< Routes >
@@ -87,11 +87,12 @@ describe("navigation pages", () => {
87
87
</ React . Suspense > ,
88
88
{ wrapper : BrowserRouter } ,
89
89
) ;
90
- const user = userEvent . setup ( ) ;
91
- await user . click ( screen . getByText ( "JOB OFFERS" ) ) ;
92
- expect (
93
- await screen . findByText ( "Have a look at some opportunities" ) ,
94
- ) . toBeInTheDocument ( ) ;
90
+ expect ( ( ) => screen . getByText ( "JOB OFFERS" ) ) . toThrow ( ) ;
91
+ //const user = userEvent.setup();
92
+ /*await user.click(screen.getByText("JOB OFFERS"));
93
+ expect(
94
+ await screen.findByText("Have a look at some opportunities"),
95
+ ).not.toBeInTheDocument();*/
95
96
} ) ;
96
97
97
98
//Reason: not enabled yet
You can’t perform that action at this time.
0 commit comments