Skip to content

Commit

Permalink
タイポミス
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Jan 12, 2024
1 parent 32f9155 commit 6907577
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/composables/useFetchNewUpdateInfos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const useFetchNewUpdateInfos = (
) => {
const result = ref<
| {
status: "upadteChecking";
status: "updateChecking";
}
| {
status: "updateAvailable";
Expand All @@ -24,7 +24,7 @@ export const useFetchNewUpdateInfos = (
status: "updateNotAvailable";
}
>({
status: "upadteChecking",
status: "updateChecking",
});

(async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/composable/useFetchNewUpdateInfos.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const setupFetchMock = (latestVersion: string) => {
// 準備完了まで待機
const waitFinished = async (result: Ref<{ status: string }>) => {
await vi.waitFor(() => {
if (result.value.status === "upadteChecking") throw new Error();
if (result.value.status === "updateChecking") throw new Error();
});
};

Expand Down

0 comments on commit 6907577

Please sign in to comment.