We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b224296 commit 5ec4c4fCopy full SHA for 5ec4c4f
packages/data-connect/test/queries.test.ts
@@ -157,7 +157,7 @@ describe('DataConnect Tests', async () => {
157
connectDataConnectEmulator(fakeInstance, 'localhost', 3512);
158
const taskListQuery = queryRef<PostListResponse>(fakeInstance, 'ListPosts');
159
await expect(executeQuery(taskListQuery)).to.eventually.be.rejectedWith(
160
- 'ECONNREFUSED'
+ /EADDRNOTAVAIL|ECONNREFUSED|fetch failed/
161
);
162
});
163
it('throws an error with just the message when the server responds with an error', async () => {
0 commit comments