We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a64cf8 commit 9bd16a5Copy full SHA for 9bd16a5
tests/search.test.ts
@@ -253,15 +253,13 @@ describe.each([
253
254
const searchKey = await getKey("Search");
255
256
- // set the remote instances
+ // set the remote name and instances
257
const instanceName = "instance_1";
258
- await masterClient.setRemoteInstances({
259
- [instanceName]: { url: HOST, searchApiKey: searchKey },
+ await masterClient.updateNetwork({
+ self: instanceName,
260
+ remotes: { [instanceName]: { url: HOST, searchApiKey: searchKey } },
261
});
262
- //set instance name
263
- await masterClient.setInstanceName(instanceName);
264
-
265
const searchClient = await getClient(permission);
266
267
const response = await searchClient.multiSearch<
0 commit comments