Skip to content

Commit

Permalink
test status
Browse files Browse the repository at this point in the history
  • Loading branch information
turbocrime committed Feb 26, 2025
1 parent dd8aa46 commit 1952085
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/transport-chrome/src/with-dom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
10 changes: 5 additions & 5 deletions packages/transport-dom/src/create.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<unknown>) => {
const { requestId } = event.data as TransportMessage;
const stream = ReadableStream.from(
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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));
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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<IntroduceResponse>[] = [
{ sentence: 'something remarkably similar' },
Expand Down

0 comments on commit 1952085

Please sign in to comment.