Skip to content

Commit 9d0ff46

Browse files
committed
fix lint and tests
1 parent aab4ef0 commit 9d0ff46

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/b2c-cli/test/commands/ods/list.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ describe('ods list', () => {
205205
value: {
206206
GET: async () => ({
207207
data: null as any, // Simulating malformed API response
208+
error: {error: {}},
208209
response: new Response(null, {status: 500, statusText: 'Internal Server Error'}),
209210
}),
210211
},
@@ -321,7 +322,7 @@ describe('ods list', () => {
321322
expect.fail('Should have thrown');
322323
} catch (error: any) {
323324
expect(error.message).to.match(/Failed to fetch sandboxes/);
324-
expect(error.message).to.include('Internal Server Error');
325+
expect(error.message).to.include('Internal error');
325326
}
326327
});
327328

0 commit comments

Comments
 (0)