1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-12-02 15:20:52 -05:00
parent b6f48745d9
commit ab385d855a

View File

@ -106,10 +106,6 @@ describe("KubeApi", () => {
});
});
afterEach(() => {
jest.resetAllMocks();
});
it("uses url from apiBase if apiBase contains the resource", async () => {
(fetch as any).mockResponse(async (request: any) => {
if (request.url === "http://127.0.0.1:9999/api-kube/apis/networking.k8s.io/v1") {