Skip to content

Commit 2b3f875

Browse files
committed
remove test
1 parent 90ef877 commit 2b3f875

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

worker/index.worker.test.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -166,27 +166,6 @@ describe("Cloudflare Docs", () => {
166166
expect(item.pubDate).toBe("Mon, 03 Mar 2025 06:00:00 GMT");
167167
});
168168

169-
it("legacy global", async () => {
170-
const request = new Request("http://fakehost/release-notes/index.xml");
171-
const response = await SELF.fetch(request);
172-
173-
expect(response.status).toBe(200);
174-
175-
const xml = await response.text();
176-
const parsed = parser.parse(xml);
177-
const { channel } = parsed.rss;
178-
179-
expect(channel.title).toBe("Cloudflare release notes");
180-
181-
const item = channel.item.find(
182-
(item: any) => item.title === "WAF - 2025-02-24",
183-
);
184-
185-
expect(item).toBeDefined();
186-
expect(item.product).toBe("WAF");
187-
expect(item.pubDate).toBe("Mon, 24 Feb 2025 00:00:00 GMT");
188-
});
189-
190169
it("legacy product-specific", async () => {
191170
const request = new Request("http://fakehost/waf/change-log/index.xml");
192171
const response = await SELF.fetch(request);

0 commit comments

Comments
 (0)