Files
t8y2--dbx/packages/app-tests/databaseIconAssets.test.ts
2026-07-13 13:09:14 +08:00

12 lines
431 B
TypeScript
Vendored

import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import path from "node:path";
import { test } from "vitest";
test("Kafka database icon includes a light contrast stroke for dark themes", () => {
const svg = readFileSync(path.resolve("apps/desktop/public/icons/database/kafka.svg"), "utf8");
assert.match(svg, /stroke="#(?:F8FAFC|E5E7EB|FFFFFF)"/i);
assert.match(svg, /fill="#231F20"/i);
});