test(ci): allow more time for Windows CLI subprocesses
This commit is contained in:
1 parent
c9bf6a9df7
commit
d82ba11ce2
2 files changed
+14
-9
No files matched your search
@@ -73,6 +73,7 @@ describe("compiled Windows reference-source import", () => {
|
||||
});
|
||||
} else expect(result.stderr).toBe("");
|
||||
},
|
||||
60_000,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -569,15 +569,19 @@ describe("updated executable maintenance planning", () => {
|
||||
});
|
||||
|
||||
describe("update subprocess boundaries", () => {
|
||||
cliTest("exposes update in CLI help", async ({ cli }) => {
|
||||
const help = await cli.run({
|
||||
arguments: ["--help"],
|
||||
environment: process.env,
|
||||
});
|
||||
expect(help.exitCode, help.stderr).toBe(0);
|
||||
expect(help.stdout).toMatch(/^\s{2}update\s/mu);
|
||||
expect(help.stdout).not.toMatch(/^\s{2}upgrade\s/mu);
|
||||
});
|
||||
cliTest(
|
||||
"exposes update in CLI help",
|
||||
async ({ cli }) => {
|
||||
const help = await cli.run({
|
||||
arguments: ["--help"],
|
||||
environment: process.env,
|
||||
});
|
||||
expect(help.exitCode, help.stderr).toBe(0);
|
||||
expect(help.stdout).toMatch(/^\s{2}update\s/mu);
|
||||
expect(help.stdout).not.toMatch(/^\s{2}upgrade\s/mu);
|
||||
},
|
||||
60_000,
|
||||
);
|
||||
|
||||
cliTest("rejects the removed upgrade CLI command", async ({ cli }) => {
|
||||
const removed = await cli.run({
|
||||
|
||||
Reference in new issue
Block a user