test(up): start writing some tests for the "up" command
This commit is contained in:
parent
de5fccfa52
commit
43a220d633
5 changed files with 244 additions and 12 deletions
|
|
@ -71,7 +71,7 @@ Examples:
|
|||
|
||||
try {
|
||||
const { default: upCommand } = await import('./commands/up.js');
|
||||
await upCommand({ storage, reporter, directory, plugins, dry });
|
||||
process.exitCode = await upCommand({ storage, reporter, directory, plugins, dry });
|
||||
} catch (error) {
|
||||
if (error instanceof ShowUsageError) {
|
||||
console.error(error.message, '\n');
|
||||
|
|
@ -359,4 +359,6 @@ try {
|
|||
} else {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
process.exitCode = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue