Skip to content

Commit

Permalink
fix: 크로마틱이 깨지는 현상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seonghunYang committed Sep 25, 2024
1 parent 0c55112 commit 5d3f63a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/business/services/user/user.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function findUserToStudentNumber(prevState: FormState, formData: Fo
isSuccess: false,
isFailure: true,
validationError: {},
message: error.message,
message: '해당 사용자를 찾을 수 없습니다.',
};
} else {
throw error;
Expand Down
2 changes: 1 addition & 1 deletion app/ui/user/sign-up-form/sign-up-form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const FailureSenarioWithDuplicatedStudentNumber: Story = {
await step('회원가입에 실패한다.', async () => {
await waitFor(() => {
expect(args.onSuccess).not.toHaveBeenCalled();
expect(canvas.getByText('이미 가입된 학번입니다.')).toBeInTheDocument();
expect(canvas.getByText('Bad Request')).toBeInTheDocument();
});
});
},
Expand Down

0 comments on commit 5d3f63a

Please sign in to comment.