Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed May 15, 2024
1 parent f5cacda commit 07a465e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/window/WindowPostMessageStream.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ describe('WindowPostMessageStream', () => {
expect(pms._writableState.objectMode).toBe(false);
});

it('can be instantiated without options', () => {
const pms = new WindowPostMessageStream(undefined as any);
it('can be instantiated with default options', () => {
const pms = new WindowPostMessageStream({ name: 'foo', target: 'bar' });
expect(pms._readableState.encoding).toBe('utf8');
expect(pms._readableState.objectMode).toBe(true);
expect(pms._writableState.objectMode).toBe(true);
Expand Down

0 comments on commit 07a465e

Please sign in to comment.