TypeScript
test(web): remove redundant favicon test (#12856)
t3-code[bot]b379b5b1407b
diff --git a/apps/web/src/lib/favicon.test.ts b/apps/web/src/lib/favicon.test.tsdeleted file mode 100644index 8fe9e65eb4d..00000000000--- a/apps/web/src/lib/favicon.test.ts+++ /dev/null@@ -1,42 +0,0 @@-import { describe, expect, it } from "vite-plus/test";--import { faviconUrlForOrigin } from "./favicon";--describe("faviconUrlForOrigin", () => {- it("never sends private origin hostnames to the public provider", () => {- for (const url of [- "http://localhost:3000/",- "http://127.0.0.1:3000/",- "http://0.0.0.0:3000/",- "http://devbox:3000/",- "https://24x.xf.local/",- "http://printer.home.arpa/",- "http://192.168.1.20:3000/",- "http://[::]/",- "http://[::ffff:192.168.1.20]/",- "http://100.65.180.100:3000/",- "https://devbox.example.ts.net/",- "http://192.0.2.1/",- "http://198.51.100.1/",- "http://203.0.113.1/",- "http://224.0.0.1/",- "http://240.0.0.1/",- "http://[2001:db8::1]/",- "http://[ff02::1]/",- "http://app.test../",- "https://24x.xf.local../",- "http://printer.home.arpa../",- "https://devbox.example.ts.net../",- "http://127.0.0.1../",- "http://127.1../",- "http://10.1../",- "http://172.16.1../",- "http://192.168.1../",- ]) {- expect(faviconUrlForOrigin(url)).toBeNull();- }- expect(faviconUrlForOrigin("https://example.com/path", 32)).toBe(- "https://www.google.com/s2/favicons?domain=example.com&sz=32",- );- });-});