forked from thoughtworks/HeartBeat
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pref(script): update scirpt of tset * pref(enum): update enum * pref(enum): update enum * pref(enum): update enum * pref(enum): update enum * pref(enum): update enum * pref(enum): update enum AxiosRequestErrorCode * pref(enum): update enum SortingDateRangeText * pref(enum): update enum CycleTimeMetricsName
- Loading branch information
1 parent
dfc8296
commit a3bc003
Showing
75 changed files
with
636 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
frontend/__tests__/components/ErrorNotification/ErrorNotification.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import { ErrorNotification } from '@src/components/ErrorNotification'; | ||
import { BOARD_TYPES, VERIFY_ERROR_MESSAGE } from '../../fixtures'; | ||
import { BOARD_TYPES, VerifyErrorMessage } from '../../fixtures'; | ||
import { render } from '@testing-library/react'; | ||
|
||
describe('error notification', () => { | ||
it('should show error message when render error notification', () => { | ||
const { getByText } = render( | ||
<ErrorNotification message={`${BOARD_TYPES.JIRA} ${VERIFY_ERROR_MESSAGE.BAD_REQUEST}`} />, | ||
<ErrorNotification message={`${BOARD_TYPES.JIRA} ${VerifyErrorMessage.BadRequest}`} />, | ||
); | ||
|
||
expect(getByText(`${BOARD_TYPES.JIRA} ${VERIFY_ERROR_MESSAGE.BAD_REQUEST}`)).toBeInTheDocument(); | ||
expect(getByText(`${BOARD_TYPES.JIRA} ${VerifyErrorMessage.BadRequest}`)).toBeInTheDocument(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.