diff --git a/tests/env/dist/main.htm b/tests/env/dist/main.htm
new file mode 100644
index 0000000..e6bce70
--- /dev/null
+++ b/tests/env/dist/main.htm
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ Document
+
+
+ main
+
+
diff --git a/tests/env/main.htm b/tests/env/main.htm
new file mode 100644
index 0000000..e6bce70
--- /dev/null
+++ b/tests/env/main.htm
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ Document
+
+
+ main
+
+
diff --git a/tests/server.test.ts b/tests/server.test.ts
index ea0522a..725ea01 100644
--- a/tests/server.test.ts
+++ b/tests/server.test.ts
@@ -32,6 +32,10 @@ test("Express app", async (done) => {
expect(response.text).toMatch(/index<\/h1>/);
response = await request(app).get("/route");
expect(response.text).toMatch(/index<\/h1>/);
+ response = await request(app).get("/index.html");
+ expect(response.text).toMatch(/index<\/h1>/);
+ response = await request(app).get("/main.htm");
+ expect(response.text).toMatch(/main<\/h1>/);
it("html is served correctly");
@@ -247,6 +251,10 @@ test("Express app with transformer function", async (done) => {
it("html is served correctly");
+ expect(response.text).toMatch(//);
+ response = await request(app).get("/index.html");
+ expect(response.text).toMatch(//);
+ response = await request(app).get("/main.htm");
expect(response.text).toMatch(//);
it("html is transformed correctly");