Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/shared/common/src/internal/fdv2/proto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ export interface DeleteObject {

export interface GoodbyeObject {
reason: string;
silent: boolean;
catastrophe: boolean;
}

export interface ErrorObject {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ describe('given a goodbye event in the response', () => {
},
{
event: 'goodbye',
data: { reason: 'server-shutdown', silent: false, catastrophe: false },
data: { reason: 'server-shutdown' },
},
]);
const requestor = makeRequestor({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ it('does not retry on goodbye result', async () => {
},
{
event: 'goodbye',
data: { reason: 'server-shutdown', silent: false, catastrophe: false },
data: { reason: 'server-shutdown' },
},
]);
const requestor: FDv2Requestor = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ it('produces a goodbye status result', async () => {

simulateEvent(mockEventSource, 'goodbye', {
reason: 'server restarting',
silent: false,
catastrophe: false,
});

const result = await base.takeResult();
Expand Down Expand Up @@ -416,8 +414,6 @@ it('produces results in order', async () => {

simulateEvent(mockEventSource, 'goodbye', {
reason: 'bye',
silent: false,
catastrophe: false,
});

const r1 = await base.takeResult();
Expand Down
Loading