Skip to content

Commit 371d684

Browse files
committed
Suppress invalid test environment warnings by explicitly targetting development for test api clients
1 parent 6dee35f commit 371d684

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react/spec/apis.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Client as BulkClient } from "@gadget-client/bulk-actions-test";
33
import { Client } from "@gadget-client/related-products-example";
44
import { Client as AuthClient } from "@gadget-client/super-auth";
55

6-
export const relatedProductsApi = new Client();
7-
export const bulkExampleApi = new BulkClient();
8-
export const superAuthApi = new AuthClient();
9-
export const noUserModelApi = new NoUserClient();
6+
export const relatedProductsApi = new Client({ environment: "Development" });
7+
export const bulkExampleApi = new BulkClient({ environment: "Development" });
8+
export const superAuthApi = new AuthClient({ environment: "Development" });
9+
export const noUserModelApi = new NoUserClient({ environment: "Development" });

0 commit comments

Comments
 (0)