mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-03-09 08:20:32 -07:00
lint
This commit is contained in:
parent
965f3100fb
commit
f91cce6e8e
6 changed files with 17 additions and 17 deletions
|
|
@ -49,10 +49,10 @@ it('should test feature', async () => {
|
|||
// For tests that trigger state updates, wait for UI to stabilize
|
||||
it('should update when data changes', async () => {
|
||||
render(<Component />);
|
||||
|
||||
|
||||
// Trigger update
|
||||
someObservable.next(newData);
|
||||
|
||||
|
||||
// Wait for UI to reflect the change
|
||||
await waitFor(() => {
|
||||
expect(screen.getByText('Updated Content')).toBeInTheDocument();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue