mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
test(adb): expect the CLI key for a refused output directory (#11432)
This commit is contained in:
1 parent
3bbc13772c
commit
1b8ffaa37c
1 file changed
+2
-1
@@ -91,12 +91,13 @@ it.skipIf(process.platform === "win32")(
|
||||
);
|
||||
expect(cli.status).toBe(1);
|
||||
expect(cli.stderr).toBe("");
|
||||
// The CLI names the refused field by its option key.
|
||||
expect(JSON.parse(cli.stdout)).toMatchObject({
|
||||
code: "invalid_request",
|
||||
details: {
|
||||
issues: [
|
||||
{
|
||||
path: ["output_directory"],
|
||||
path: ["output-directory"],
|
||||
reason: "invalid_value",
|
||||
observed: { path: output, code: hostCode },
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user