Skip to content

Commit

Permalink
test: fix netlify dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 23, 2023
1 parent 8a6ed77 commit 8c7ca39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/presets/netlify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("nitro:preset:netlify", async () => {
() => {
it("should add route rules - redirects", async () => {
const redirects = await fsp.readFile(
resolve(ctx.rootDir, "dist/_redirects"),
resolve(ctx.outDir, "../dist/_redirects"),
"utf8"
);
/* eslint-disable no-tabs */
Expand All @@ -69,7 +69,7 @@ describe("nitro:preset:netlify", async () => {
});
it("should add route rules - headers", async () => {
const headers = await fsp.readFile(
resolve(ctx.rootDir, "dist/_headers"),
resolve(ctx.outDir, "../dist/_headers"),
"utf8"
);
/* eslint-disable no-tabs */
Expand Down

0 comments on commit 8c7ca39

Please sign in to comment.