fix: address final widget review findings

This commit is contained in:
Thomas Camlong authored and ajnart committed 2026-08-14 11:07:08 +02:00
1 parent 44b55a401c
commit c09ed96978
8 files changed
+149 -37

No files matched your search

+7 -2
View File
@@ -4,9 +4,12 @@ import { createHomarrContainer } from "./shared/create-homarr-container";
import { createRedisContainer } from "./shared/redis-container";
describe("Health checks", () => {
test("ready and live should return 200 OK with normal image and no extra configuration", async () => {
test("ready and live should return 200 OK with normal image and no extra configuration", async ({
onTestFinished,
}) => {
// Arrange
const homarrContainer = await createHomarrContainer().start();
onTestFinished(() => homarrContainer.stop());
try {
// Act
@@ -21,9 +24,10 @@ describe("Health checks", () => {
}
}, 60_000);
test("ready and live should return 200 OK with external redis", async () => {
test("ready and live should return 200 OK with external redis", async ({ onTestFinished }) => {
// Arrange
const redisContainer = await createRedisContainer().start();
onTestFinished(() => redisContainer.stop());
const homarrContainer = await createHomarrContainer({
environment: {
REDIS_IS_EXTERNAL: "true",
@@ -32,6 +36,7 @@ describe("Health checks", () => {
REDIS_PASSWORD: redisContainer.getPassword(),
},
}).start();
onTestFinished(() => homarrContainer.stop());
try {
// Act