Skip to content

Commit

Permalink
chore: upgrade vitest (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
asanehisa authored Feb 18, 2025
1 parent 34ed444 commit 0c819dc
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 249 deletions.
4 changes: 2 additions & 2 deletions packages/pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@
"jsdom": "24.0.0",
"minimatch": "^9.0.3",
"type-fest": "^4.27.0",
"vitest": "^1.4.0"
"vitest": "^3.0.5"
},
"peerDependencies": {
"react": "^17.0.2 || ^18.2.0",
"react-dom": "^17.0.2 || ^18.2.0",
"vite": "^4.3.0 || ^5.0.2"
}
}
}
8 changes: 4 additions & 4 deletions packages/pages/src/scaffold/template/sampleTemplates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe("newConfigFile", () => {
fs.unlinkSync("test.tsx");
}
}
});
}, 10000);
});

describe("visualEditorTemplateCode", () => {
Expand All @@ -54,7 +54,7 @@ describe("visualEditorTemplateCode", () => {
fs.unlinkSync("test.tsx");
}
}
});
}, 10000);
});

describe("staticTemplate", () => {
Expand All @@ -75,7 +75,7 @@ describe("staticTemplate", () => {
fs.unlinkSync("test.tsx");
}
}
});
}, 10000);
});

describe("dynamicTemplate", () => {
Expand All @@ -98,5 +98,5 @@ describe("dynamicTemplate", () => {
fs.unlinkSync("test.tsx");
}
}
});
}, 10000);
});
Loading

0 comments on commit 0c819dc

Please sign in to comment.