Skip to content

Commit d97d51f

Browse files
committed
fix: tests
1 parent b16c74c commit d97d51f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/transporter/src/__tests__/integration/with-hosts-cache-drivers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('hosts cache integration with cache drivers', () => {
6363

6464
const message =
6565
// eslint-disable-next-line max-len
66-
'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.';
66+
'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.';
6767

6868
await expect(transporter.read(transporterRequest)).rejects.toMatchObject({
6969
message,

packages/transporter/src/__tests__/unit/stackTrace.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe('transporter stack trace serialization', () => {
9090
await expect(transporter.read(transporterRequest)).rejects.toEqual({
9191
name: 'RetryError',
9292
message:
93-
'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.',
93+
'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.',
9494
transporterStackTrace,
9595
});
9696

packages/transporter/src/__tests__/unit/timeouts.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe('the timeouts selection', () => {
8686
await expect(transporter.read(transporterRequest)).rejects.toMatchObject({
8787
name: 'RetryError',
8888
message:
89-
'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.',
89+
'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.',
9090
});
9191

9292
assertRequest({
@@ -111,7 +111,7 @@ describe('the timeouts selection', () => {
111111
await expect(transporter.read(transporterRequest)).rejects.toMatchObject({
112112
name: 'RetryError',
113113
message:
114-
'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.',
114+
'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.',
115115
});
116116

117117
assertRequest({
@@ -142,7 +142,7 @@ describe('the timeouts selection', () => {
142142
await expect(transporter.read(transporterRequest)).rejects.toMatchObject({
143143
name: 'RetryError',
144144
message:
145-
'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.',
145+
'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.',
146146
});
147147

148148
assertRequest({

0 commit comments

Comments
 (0)