Skip to content

Commit

Permalink
Fix ESLint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sw-joelmut committed Nov 14, 2024
1 parent 728fca6 commit 7bcfd4b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,13 @@ export enum ResponseStatusCode {
NoContent = 204,
ResetContent = 205,
PartialContent = 206,
Ambiguous = 300,
MultipleChoices = 300,
Moved = 301,
MovedPermanently = 301,
Found = 302,
Redirect = 302,
RedirectMethod = 303,
SeeOther = 303,
NotModified = 304,
UseProxy = 305,
Unused = 306,
RedirectKeepVerb = 307,
TemporaryRedirect = 307,
BadRequest = 400,
Unauthorized = 401,
Expand All @@ -65,6 +60,30 @@ export enum ResponseStatusCode {
ServiceUnavailable = 503,
GatewayTimeout = 504,
HttpVersionNotSupported = 505,

// Synonyms
/* eslint-disable @typescript-eslint/no-duplicate-enum-values */
/**
* Synonym for MultipleChoices.
*/
Ambiguous = 300,
/**
* Synonym for MovedPermanently.
*/
Moved = 301,
/**
* Synonym for Found.
*/
Redirect = 302,
/**
* Synonym for SeeOther.
*/
RedirectMethod = 303,
/**
* Synonym for TemporaryRedirect.
*/
RedirectKeepVerb = 307,
/* eslint-enable @typescript-eslint/no-duplicate-enum-values */
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('AdaptiveDialogTests', function () {
await TestUtils.runTestScript(resourceExplorer, 'AdaptiveDialog_NestedRecognizers');
});

it('PropertySetInInterruption', async function () {
it('PropertyBotInterruption', async function () {
await TestUtils.runTestScript(resourceExplorer, 'AdaptiveDialog_ParentBotInterruption');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('SelectorTests', function () {
await TestUtils.runTestScript(resourceExplorer, 'SelectorTests_Priority');
});

it('Priority', async function () {
it('FloatPriority', async function () {
await TestUtils.runTestScript(resourceExplorer, 'SelectorTests_Float_Priority');
});

Expand Down

0 comments on commit 7bcfd4b

Please sign in to comment.