15 lines
505 B
TypeScript
15 lines
505 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
|
|
import { objectEntries } from "@homarr/common";
|
|
|
|
import { integrationDefs } from "../integration";
|
|
|
|
describe("Icon url's of integrations should be valid and return 200", () => {
|
|
objectEntries(integrationDefs).forEach(([integration, { iconUrl }]) => {
|
|
it(`should return 200 for ${integration}`, { concurrent: true, retry: 2, timeout: 15_000 }, async () => {
|
|
const res = await fetch(iconUrl);
|
|
expect(res.status).toBe(200);
|
|
});
|
|
});
|
|
});
|