Skip to content

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sai Medhini Reddy Maryada authored and Sai Medhini Reddy Maryada committed Aug 29, 2024
1 parent d0e6a0e commit 2f1b20b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/pages/workflow_detail/workflow_detail.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ const renderWithRouter = () =>
describe('WorkflowDetail', () => {
test('renders the page with a div element', () => {
const { container } = renderWithRouter(); // Render the component

console.log('printed printed........', renderWithRouter());
// Check if there's at least one div element in the rendered output
const divElement = container.querySelector('body');


// Expect a div element to be present
expect(divElement).not.toBeNull(); // This checks that there is at least one <div> element
Expand Down

0 comments on commit 2f1b20b

Please sign in to comment.