Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Fix up all the fake client interfaces in tests
Browse files Browse the repository at this point in the history
Co-authored-by: Vinicius Stock <[email protected]>
  • Loading branch information
paracycle and vinistock committed Feb 1, 2024
1 parent 34ff162 commit 77ab8b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/suite/status.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ suite("StatusItems", () => {
state: State.Running,
formatter: "none",
serverVersion: "1.0.0",
sendRequest: <T>() => Promise.resolve([] as T),
},
error: false,
};
Expand Down Expand Up @@ -70,6 +71,7 @@ suite("StatusItems", () => {
state: State.Running,
formatter: "none",
serverVersion: "1.0.0",
sendRequest: <T>() => Promise.resolve([] as T),
},
error: false,
};
Expand Down Expand Up @@ -127,6 +129,7 @@ suite("StatusItems", () => {
state: State.Running,
formatter,
serverVersion: "1.0.0",
sendRequest: <T>() => Promise.resolve([] as T),
},
error: false,
};
Expand Down Expand Up @@ -154,6 +157,7 @@ suite("StatusItems", () => {
state: State.Running,
formatter: "none",
serverVersion: "1.0.0",
sendRequest: <T>() => Promise.resolve([] as T),
},
error: false,
};
Expand Down Expand Up @@ -186,6 +190,7 @@ suite("StatusItems", () => {
state: State.Running,
formatter: "none",
serverVersion: "1.0.0",
sendRequest: <T>() => Promise.resolve([] as T),
},
error: false,
};
Expand Down Expand Up @@ -224,6 +229,7 @@ suite("StatusItems", () => {
state: State.Running,
formatter: "none",
serverVersion: "1.0.0",
sendRequest: <T>() => Promise.resolve([] as T),
},
error: false,
};
Expand Down Expand Up @@ -290,6 +296,7 @@ suite("StatusItems", () => {
state: State.Running,
formatter: "auto",
serverVersion: "1.0.0",
sendRequest: <T>() => Promise.resolve([] as T),
},
error: false,
};
Expand Down

0 comments on commit 77ab8b5

Please sign in to comment.