Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Commit

Permalink
Cleanup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchoz49 committed May 20, 2020
1 parent 157aa42 commit 98f313a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/feed-store.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,13 @@ describe('FeedStore', () => {
const { feedStore } = await createDefault();

await expect(feedStore.closeFeed('/foo')).rejects.toThrow(/Feed not found/);

const foo = await feedStore.openFeed('/foo');
await feedStore.closeFeed('/foo');
expect(foo.opened).toBeTruthy();
expect(foo.closed).toBeFalsy();

await feedStore.closeFeed('/foo');
expect(foo.closed).toBeTruthy();
});

test('Descriptors', async () => {
Expand Down

0 comments on commit 98f313a

Please sign in to comment.