-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9b41ad
commit 593c33a
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,11 @@ describe('SidebarLinks', () => { | |
|
||
// Initialize the network key for OfflineWithFeedback | ||
Onyx.merge(ONYXKEYS.NETWORK, {isOffline: false}); | ||
Onyx.clear().then(waitForBatchedUpdates); | ||
TestHelper.signInWithTestUser(1, '[email protected]', undefined, undefined, 'One').then(waitForBatchedUpdates); | ||
}); | ||
|
||
afterEach(() => { | ||
Onyx.clear(); | ||
}); | ||
|
||
test('[SidebarLinks] should render Sidebar with 500 reports stored', async () => { | ||
|
@@ -87,7 +91,7 @@ describe('SidebarLinks', () => { | |
* Query for display names of participants [1, 2]. | ||
* This will ensure that the sidebar renders a list of items. | ||
*/ | ||
await screen.findAllByText('One, Two'); | ||
await screen.findAllByText('Email Two'); | ||
}; | ||
|
||
await waitForBatchedUpdates(); | ||
|