We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b2dd30 commit 3f49e80Copy full SHA for 3f49e80
__tests__/NavBar.test.tsx
@@ -114,8 +114,10 @@ describe('NavBar Component', () => {
114
115
console.log('After rendering NavBar');
116
117
- const publishButton = getByText('Publish');
118
- fireEvent.click(publishButton);
+ await act(async () => {
+ const publishButton = getByText('Publish');
119
+ fireEvent.click(publishButton);
120
+ });
121
});
122
123
it('handles publish correctly with new project', async () => {
0 commit comments