Skip to content

Commit

Permalink
[Enterprise Search] Fix typo (#114462)
Browse files Browse the repository at this point in the history
Fixing a small typo (`recieve` -> `receive`) I noticed in comments.
  • Loading branch information
orhantoy authored Oct 11, 2021
1 parent 2ffbf6e commit 7c5c566
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('CrawlerStatusIndicator', () => {
describe('when status is not a valid status', () => {
it('is disabled', () => {
// this tests a codepath that should be impossible to reach, status should always be a CrawlerStatus
// but we use a switch statement and need to test the default case for this to recieve 100% coverage
// but we use a switch statement and need to test the default case for this to receive 100% coverage
setMockValues({
...MOCK_VALUES,
mostRecentCrawlRequestStatus: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { IFlashMessage } from './types';

/**
* The API errors we are handling can come from one of two ways:
* - When our http calls recieve a response containing an error code, such as a 404 or 500
* - When our http calls receive a response containing an error code, such as a 404 or 500
* - Our own JS while handling a successful response
*
* In the first case, if it is a purposeful error (like a 404) we will receive an
Expand Down

0 comments on commit 7c5c566

Please sign in to comment.