Skip to content

Commit

Permalink
[ML] Update jest test mock
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Oct 26, 2021
1 parent 9d1516e commit 783a713
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('Model service', () => {
},
} as unknown as jest.Mocked<IScopedClusterClient>;
const mlClient = {
getTrainedModelsDeploymentStats: jest.fn(() => {
getTrainedModelDeploymentStats: jest.fn(() => {
return Promise.resolve({ body: mockResponse });
}),
} as unknown as jest.Mocked<MlClient>;
Expand Down

0 comments on commit 783a713

Please sign in to comment.