9 lines
245 B
TypeScript
9 lines
245 B
TypeScript
|
import { describe, expect, it } from "../deps.testing.ts";
|
||
|
import { normalizeURL } from "./server.ts";
|
||
|
|
||
|
describe("server", () => {
|
||
|
it("normalizes URLs", () => {
|
||
|
expect(normalizeURL("/dir/file.txt?t=1")).toEqual("/dir/file.txt");
|
||
|
});
|
||
|
});
|