Skip to content

Commit

Permalink
Fix check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
demjened committed May 2, 2023
1 parent bb605db commit 3953aba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ describe('TextExpansionCalloutLogic', () => {
message: error.body?.message,
});
});
it('uses the correct title and message from a create error', () => {
it('uses the correct title and message from a fetch error', () => {
expect(getTextExpansionError(undefined, error, undefined)).toEqual({
title: 'Error fetching ELSER model',
message: error.body?.message,
});
});
it('uses the correct title and message from a create error', () => {
it('uses the correct title and message from a start error', () => {
expect(getTextExpansionError(undefined, undefined, error)).toEqual({
title: 'Error starting ELSER deployment',
message: error.body?.message,
Expand Down

0 comments on commit 3953aba

Please sign in to comment.