Skip to content

Commit 4fbd74e

Browse files
committed
test: remove unsupported feature
1 parent 9c3db61 commit 4fbd74e

File tree

3 files changed

+1
-17
lines changed

3 files changed

+1
-17
lines changed

test/fixture/nitro.config.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,7 @@ export default defineNitroConfig({
5757
dir: "files",
5858
},
5959
],
60-
ignore: [
61-
"api/**/_*",
62-
"middleware/_ignored.ts",
63-
"routes/_*.ts",
64-
"**/_*.txt",
65-
"!**/_unignored.txt",
66-
],
60+
ignore: ["api/**/_*", "middleware/_ignored.ts", "routes/_*.ts", "**/_*.txt"],
6761
runtimeConfig: {
6862
dynamic: "initial",
6963
url: "https://{{APP_DOMAIN}}",

test/presets/cloudflare-pages.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ describe.skipIf(isWindows)("nitro:preset:cloudflare-pages", async () => {
4646
"/_openapi.json.gz",
4747
"/_scalar",
4848
"/_swagger",
49-
"/_unignored.txt",
5049
"/favicon.ico",
5150
"/foo.css",
5251
"/foo.js",

test/tests.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -586,15 +586,6 @@ export function testNitro(
586586
expect((await callHandler({ url: "/favicon.ico" })).status).toBe(200);
587587
}
588588
);
589-
590-
it.skipIf(ctx.isWorker || ctx.isDev)(
591-
"public files can be un-ignored with patterns",
592-
async () => {
593-
expect((await callHandler({ url: "/_unignored.txt" })).status).toBe(
594-
200
595-
);
596-
}
597-
);
598589
});
599590

600591
describe("headers", () => {

0 commit comments

Comments
 (0)