Skip to content

Commit

Permalink
Update notification-manager.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Oct 10, 2024
1 parent 6b3c8a3 commit 15bbce4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/notifications/src/notification-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ const createManager = () => {
describe('NotificationManager', () => {
beforeEach(() => AsyncStorage.clear())

const eventsStorage = mountAsyncStorage({path: 'events/'})
const configStorage = mountAsyncStorage({path: 'config/'})

it('should be defined', () => {
const manager = createManager()
expect(manager).toBeDefined()
Expand Down Expand Up @@ -243,6 +240,9 @@ describe('NotificationManager', () => {
})

it('should subscribe to events when called hydrate', async () => {
const eventsStorage = mountAsyncStorage({path: 'events/'})
const configStorage = mountAsyncStorage({path: 'config/'})

const event = createTransactionReceivedEvent()

const notificationSubscription = new BehaviorSubject(event)
Expand Down

0 comments on commit 15bbce4

Please sign in to comment.