We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f48e72d commit 8941d98Copy full SHA for 8941d98
src/mcp/tools/apptesting/tests.ts
@@ -5,10 +5,15 @@ import { distribute, Distribution } from "../../../appdistribution/distribution"
5
import { tool } from "../../tool";
6
import { toContent } from "../../util";
7
import { parseIntoStringArray, toAppName } from "../../../appdistribution/options-parser-util";
8
-import { TestDevice } from "../../../appdistribution/types";
9
10
const TestDeviceSchema = z
11
- .custom<TestDevice>()
+ .object({
+ model: z.string(),
12
+ version: z.string(),
13
+ locale: z.string(),
14
+ orientation: z.enum(["portrait", "landscape"]),
15
+ })
16
+ .required()
17
.describe(
18
`Device to run automated test on. Can run 'gcloud firebase test android|ios models list' to see available devices.`,
19
);
0 commit comments