From 195208581ed177d7b29891a9b62e9b3a8d6b1e59 Mon Sep 17 00:00:00 2001 From: turbocrime Date: Tue, 25 Feb 2025 18:32:28 -0800 Subject: [PATCH] test status --- packages/transport-chrome/src/with-dom.test.ts | 8 ++++---- packages/transport-dom/src/create.test.ts | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/transport-chrome/src/with-dom.test.ts b/packages/transport-chrome/src/with-dom.test.ts index 57761635e..37d637c38 100644 --- a/packages/transport-chrome/src/with-dom.test.ts +++ b/packages/transport-chrome/src/with-dom.test.ts @@ -470,7 +470,7 @@ describe('session client with transport-dom', () => { }); describe("doesn't emit abort events", () => { - it('can cancel streams before init, but does not emit an abort', async () => { + it.fails('can cancel streams before init, but does not emit an abort', async () => { const { uncaughtExceptionListener, restoreUncaughtExceptionListener } = replaceUncaughtExceptionListener(); onTestFinished(restoreUncaughtExceptionListener); @@ -503,7 +503,7 @@ describe('session client with transport-dom', () => { expect(uncaughtExceptionListener).not.toHaveBeenCalled(); }); - it('can cancel streams already in progress, but does not emit an abort', async () => { + it.fails('can cancel streams already in progress, but does not emit an abort', async () => { const { uncaughtExceptionListener, restoreUncaughtExceptionListener } = replaceUncaughtExceptionListener(); onTestFinished(restoreUncaughtExceptionListener); @@ -577,7 +577,7 @@ describe('session client with transport-dom', () => { }); describe('emits abort events', () => { - it.fails('can cancel streams before init, and emits an abort', async () => { + it('can cancel streams before init, and emits an abort', async () => { const { uncaughtExceptionListener, restoreUncaughtExceptionListener } = replaceUncaughtExceptionListener(); onTestFinished(restoreUncaughtExceptionListener); @@ -629,7 +629,7 @@ describe('session client with transport-dom', () => { expect(uncaughtExceptionListener).not.toHaveBeenCalled(); }); - it.fails('can cancel streams already in progress, and emits an abort', async () => { + it('can cancel streams already in progress, and emits an abort', async () => { const { uncaughtExceptionListener, restoreUncaughtExceptionListener } = replaceUncaughtExceptionListener(); onTestFinished(restoreUncaughtExceptionListener); diff --git a/packages/transport-dom/src/create.test.ts b/packages/transport-dom/src/create.test.ts index 34bd3a7c1..8096f5602 100644 --- a/packages/transport-dom/src/create.test.ts +++ b/packages/transport-dom/src/create.test.ts @@ -391,7 +391,7 @@ describe('channel transport', () => { expect(messages).toMatchObject(introduceResponse); }); - it.fails('should time out streaming requests that stall', async () => { + it('should time out streaming requests that stall', async () => { otherEnd.mockImplementation((event: MessageEvent) => { const { requestId } = event.data as TransportMessage; const stream = ReadableStream.from( @@ -480,7 +480,7 @@ describe('channel transport', () => { }); describe("doesn't emit abort events", () => { - it('can cancel streams before init, but does not emit an abort', async () => { + it.fails('can cancel streams before init, but does not emit an abort', async () => { expect(otherEnd).not.toHaveBeenCalled(); const ac = new AbortController(); @@ -508,7 +508,7 @@ describe('channel transport', () => { expect(otherEnd).toHaveBeenCalledOnce(); }); - it('can cancel streams already in progress, but does not emit an abort', async () => { + it.fails('can cancel streams already in progress, but does not emit an abort', async () => { const errorEventListener = vi.fn(); window.addEventListener('error', errorEventListener); onTestFinished(() => window.removeEventListener('error', errorEventListener)); @@ -575,7 +575,7 @@ describe('channel transport', () => { }); describe('emits abort events', () => { - it.fails('can cancel streams before init, and emits an abort', async () => { + it('can cancel streams before init, and emits an abort', async () => { expect(otherEnd).not.toHaveBeenCalled(); const ac = new AbortController(); @@ -611,7 +611,7 @@ describe('channel transport', () => { ); }); - it.fails('can cancel streams already in progress, and emits an abort', async () => { + it('can cancel streams already in progress, and emits an abort', async () => { const defaultTimeoutMs = 200; const responses: PlainMessage[] = [ { sentence: 'something remarkably similar' },