Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Mar 7, 2025
1 parent fe32304 commit 8a8ef94
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ describe(useModelHandlers.name, () => {
update();

expect(setExternalState).toHaveBeenCalledOnce();

const returnedObject = setExternalState.mock.calls[0][0] as LayersUrlStateParam | undefined;

expect(returnedObject).toBeDefined();
Expand Down Expand Up @@ -115,6 +114,6 @@ function createUseQueryModelNameResult(
): UseQueryResult<Array<string | undefined>, unknown> {
return new Mock<UseQueryResult<Array<string | undefined>>>()
.setup((p) => p.data)
.returns(['model0', 'model1'])
.returns(modelNames)
.object();
}

0 comments on commit 8a8ef94

Please sign in to comment.