Skip to content

Commit 9644503

Browse files
committed
dk
2 parents 5e27ab4 + 9b63394 commit 9644503

File tree

3 files changed

+32
-33
lines changed

3 files changed

+32
-33
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ Follow the steps below to get started with Docketeer.
120120
git clone https://github.com/open-source-labs/Docketeer.git
121121
```
122122

123-
#### STEP 1.5 - Need to set up your Kubernetes cluster to work with Docketeer?
123+
#### STEP 1.5 Need to set up your Kubernetes cluster to work with Docketeer?
124124

125-
Run the following command and then navigate to localhost:3003:
125+
Run the following command and then navigate to [localhost:4001/api/k8](http://localhost:4001/api/k8):
126126
```sh
127127
npm run dev
128128
```
@@ -133,7 +133,7 @@ Otherwise, you can skip the first button and go on with the next two!
133133

134134
#### STEP 2 — Docker compose up
135135

136-
Go back to your terminal and make sure you're in the Docketeer directory. Then run
136+
Open up a new tab in your terminal and make sure you're in the Docketeer directory. Then run
137137
```sh
138138
docker compose up
139139
```
@@ -188,12 +188,13 @@ Read our [contributing guide](https://github.com/open-source-labs/Docketeer/blob
188188

189189
## <b>Read More</b>
190190

191+
- [Introducing Docketeer XI | The Latest Version Ready for Takeoff with a Splash!](https://medium.com/@saadh123/introducing-docketeer-xi-the-latest-version-ready-for-takeoff-with-a-splash-d5f40eacb29d)
191192
- [Enjoy the sleek new look of Docketeer X](https://medium.com/@ajschmidt225/enjoy-the-sleek-new-look-of-docketeer-x-34c1ccf8bb2b)
192193
- [Docketeer is here to make a splash!](https://medium.com/@garima41/docketeer-9-0-is-here-to-make-a-splash-134336923d3d)
193194
- [Docketeer is here! You’re WHALEcome!](https://medium.com/@dfeldman24/docketeer-5-0-is-here-youre-whalecome-6f9d72ec3b58)
194195
- [Docketeer! What's new?](https://medium.com/@hultzentre/docketeer-5-0-whats-new-358a5f107ac4)
195196
- [Docketeer: An Innovative Tool to Manage Docker Containers](https://griffinsilver.medium.com/docketeer-3-0-an-innovative-tool-to-manage-docker-containers-723ea5be6220a)
196-
- [Whale Hello There, Docketeer is Here!](https://msscloudy.medium.com/whale-hello-there-docketeer-4-0-is-here-b78bd9d1df01)
197+
- [Whale Hello There, Docketeer 4.0 is Here!](https://msscloudy.medium.com/whale-hello-there-docketeer-4-0-is-here-b78bd9d1df01)
197198
- [Our Journey Building Docketeer](https://betterprogramming.pub/our-journey-building-docketeer-an-open-source-docker-container-monitoring-and-visualization-tool-fb6c26d8908a)
198199

199200

@@ -259,7 +260,7 @@ Distributed under the MIT License. See `LICENSE.txt` for more information.
259260
- Anna Tran [@annamullike](https://github.com/annamullike) | [LinkedIn](https://www.linkedin.com/in/annatran10/)
260261
- Emily John [@emilyjohl](https://github.com/emilyjohl) | [LinkedIn](https://www.linkedin.com/in/emily-johl-5093ab137/)
261262
- Jaeni Lee [@jaenixlee](https://github.com/jaenixlee) | [LinkedIn](https://www.linkedin.com/in/jaenilee/)
262-
- Jay Salgado [@Jaysalgado](https://github.com/Jaysalgado) | [LinkedIn](https://www.linkedin.com/in/joseph-salgado-76410620b/)
263+
- Joseph Salgado [@Jaysalgado](https://github.com/Jaysalgado) | [LinkedIn](https://www.linkedin.com/in/joseph-salgado-76410620b/)
263264

264265
<p align="right">(<a href="#readme-top">back to top</a>)</p>
265266

__tests__/ContainersTab.test.js

Lines changed: 25 additions & 27 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 = {
@@ -33,40 +32,25 @@ const props = {
3332
stop: jest.fn(),
3433
remove: jest.fn(),
3534
runStopped: jest.fn(),
36-
status: 'running'
35+
status: "running",
3736
};
3837

39-
fetchMock.enableMocks();
40-
4138
describe("Containers", () => {
4239
test("Containers component should render", () => {
43-
render(
44-
<Provider store={store}>
45-
<Containers />
46-
</Provider>
47-
);
48-
});
49-
50-
describe('ContainersCard', () => {
51-
test('renders correctly', () => {
52-
render(
53-
<ContainersCard
54-
containerList={props.runningList}
55-
stopContainer={props.stop}
56-
runContainer={props.runStopped}
57-
removeContainer={props.remove}
58-
status={props.status}
59-
/>
60-
);
61-
});
40+
render(
41+
<Provider store={store}>
42+
<Containers />
43+
</Provider>
44+
);
6245
});
6346

6447
describe("Running List containers", () => {
6548
beforeEach(() => {
66-
render(<Provider store={store}>
67-
<Containers {...props} />
68-
</Provider>
69-
)
49+
render(
50+
<Provider store={store}>
51+
<Containers {...props} />
52+
</Provider>
53+
);
7054
render(
7155
<ContainersCard
7256
containerList={props.runningList}
@@ -116,3 +100,17 @@ describe("Containers", () => {
116100
});
117101
});
118102
});
103+
104+
describe("ContainersCard", () => {
105+
test("ContainersCard component should render", () => {
106+
render(
107+
<ContainersCard
108+
containerList={props.runningList}
109+
stopContainer={props.stop}
110+
runContainer={props.runStopped}
111+
removeContainer={props.remove}
112+
status={props.status}
113+
/>
114+
);
115+
});
116+
});

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)