Skip to content

Commit 8990c34

Browse files
committed
Update mock return value in editorregistry tests for improved clarity
1 parent 1fbf433 commit 8990c34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/test/units/editorregistry.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('editorregistry', () => {
4444
});
4545

4646
it('sorts icon contributions by priority and resolves icon', async () => {
47-
getContributionsMock.mockReturnValue([
47+
(getContributionsMock as any).mockReturnValue([
4848
{ label: 'low', priority: 1, mappings: { py: 'file-low' } },
4949
{ label: 'high', priority: 10, mappings: { py: 'file-high' } },
5050
]);

0 commit comments

Comments
 (0)