Skip to content

Commit

Permalink
Fixed failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
maneesht committed Jan 13, 2025
1 parent 13b490c commit 7d03de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/data-connect/test/queries.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('DataConnect Tests', async () => {
connectDataConnectEmulator(fakeInstance, 'localhost', 3512);
const taskListQuery = queryRef<PostListResponse>(fakeInstance, 'ListPosts');
await expect(executeQuery(taskListQuery)).to.eventually.be.rejectedWith(
/EADDRNOTAVAIL|ECONNREFUSED|fetch failed/
/EADDRNOTAVAIL|ECONNREFUSED|failed to fetch/
);
});
it('throws an error with just the message when the server responds with an error', async () => {
Expand Down

0 comments on commit 7d03de6

Please sign in to comment.