Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/json-rpc-engine/src/JsonRpcEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ export class JsonRpcEngine extends SafeEventEmitter {
* @param response - The response object.
* @param middleware - The middleware function to execute.
* @param returnHandlers - The return handlers array for the current request.
* @returns An array of any error encountered during middleware exection,
* @returns An array of any error encountered during middleware execution,
* and a boolean indicating whether the request should end.
*/
static async #runMiddleware(
Expand Down
6 changes: 3 additions & 3 deletions packages/name-controller/src/NameController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ describe('NameController', () => {
variation,
} as SetNameRequest),
).toThrow(
`Must specify a chain ID in hexidecimal format or the fallback, "*", for variation when using 'ethereumAddress' type.`,
`Must specify a chain ID in hexadecimal format or the fallback, "*", for variation when using 'ethereumAddress' type.`,
);
});

Expand Down Expand Up @@ -1670,7 +1670,7 @@ describe('NameController', () => {
});
});

it('stores emtpy array if result error while getting proposed name using provider', async () => {
it('stores empty array if result error while getting proposed name using provider', async () => {
const provider1 = createMockProvider(1);
const provider2 = createMockProvider(2);
const error = new Error('TestError');
Expand Down Expand Up @@ -2015,7 +2015,7 @@ describe('NameController', () => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} as any),
).rejects.toThrow(
`Must specify a chain ID in hexidecimal format or the fallback, "*", for variation when using 'ethereumAddress' type.`,
`Must specify a chain ID in hexadecimal format or the fallback, "*", for variation when using 'ethereumAddress' type.`,
);
},
);
Expand Down
Loading