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 faf92d1 commit 61bbeb9Copy full SHA for 61bbeb9
tests/client_tests.ts
@@ -153,6 +153,18 @@ describe.each([
153
expect(e.type).toEqual('MeiliSearchCommunicationError')
154
}
155
})
156
+
157
+ test(`${permission} key: host without HTTP should not throw Invalid URL Error`, async () => {
158
+ const client = new MeiliSearch({ host: 'meilisearch:7700' })
159
+ const health = await client.isHealthy()
160
+ expect(health).toBe(false)
161
+ })
162
163
+ test(`${permission} key: host without HTTP and port should not throw Invalid URL Error`, async () => {
164
+ const client = new MeiliSearch({ host: 'meilisearch' })
165
166
167
168
169
170
describe.each([
0 commit comments