File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ describe("navigation pages", () => {
7878 } ) ;
7979
8080 //Reason: not enabled yet
81- test . skip ( "it render the JOB OFFERS page" , async ( ) => {
81+ test ( "it render the JOB OFFERS page" , async ( ) => {
8282 render (
8383 < React . Suspense fallback = { < span > Loading...</ span > } >
8484 < Routes >
@@ -87,11 +87,12 @@ describe("navigation pages", () => {
8787 </ React . Suspense > ,
8888 { wrapper : BrowserRouter } ,
8989 ) ;
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();*/
9596 } ) ;
9697
9798 //Reason: not enabled yet
You can’t perform that action at this time.
0 commit comments