Skip to content

Commit

Permalink
Fix prerender test on Windows (#11567)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored May 19, 2024
1 parent 96b441b commit bb58afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/vite-prerender-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ test.describe("Prerendering", () => {
appFixture = await createAppFixture(fixture);

let clientDir = path.join(fixture.projectDir, "build", "client");
expect(fs.readdirSync(clientDir)).toEqual([
expect(fs.readdirSync(clientDir).sort()).toEqual([
"_root.data",
"about",
"about.data",
Expand Down Expand Up @@ -175,7 +175,7 @@ test.describe("Prerendering", () => {
appFixture = await createAppFixture(fixture);

let clientDir = path.join(fixture.projectDir, "build", "client");
expect(fs.readdirSync(clientDir)).toEqual([
expect(fs.readdirSync(clientDir).sort()).toEqual([
"_root.data",
"about",
"about.data",
Expand Down

0 comments on commit bb58afd

Please sign in to comment.