Skip to content

Commit 683b1fd

Browse files
committed
types fixed in images and app
1 parent eec68c8 commit 683b1fd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

__tests__/ContainersTab.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import ContainersCard from "../src/components/ContainersCard/ContainersCard";
55
import { describe, beforeEach, expect, test, jest } from "@jest/globals";
66
import "@testing-library/jest-dom";
77
import { fireEvent, render, screen } from "@testing-library/react";
8-
import fetchMock from "jest-fetch-mock";
98
import store from "../src/store";
109

1110
const props = {
@@ -36,8 +35,6 @@ const props = {
3635
status: 'running'
3736
};
3837

39-
fetchMock.enableMocks();
40-
4138
describe("Containers", () => {
4239
test("Containers component should render", () => {
4340
render(
@@ -48,7 +45,7 @@ describe("Containers", () => {
4845
});
4946

5047
describe('ContainersCard', () => {
51-
test('renders correctly', () => {
48+
test('ContainersCard component should render', () => {
5249
render(
5350
<ContainersCard
5451
containerList={props.runningList}

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const App = () => {
8787
<Route path="/home/metrics" element={<Metrics key={1} />} />
8888
<Route path="/home/logs" element={<ProcessLogs key={1} />} />
8989
<Route path="/home/about" element={<About />} />
90-
<Route path="/home/images" element={<Images />} />
90+
<Route path="/home/images" element={<Images imagesList={undefined} />} />
9191
<Route path="/home/running" element={<Containers />} />
9292
<Route path="/home/" element={<Settings />} />
9393
</Route>

0 commit comments

Comments
 (0)