projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Begin unit tests
[oweals/peertube.git]
/
server
/
tests
/
utils
/
cli.ts
diff --git
a/server/tests/utils/cli.ts
b/server/tests/utils/cli.ts
index 5f07a832e7bf57f011cb02a4d7e9e454f2e1353e..4098fdf6f7e0ed1d696abfd6b5616264bd723350 100644
(file)
--- a/
server/tests/utils/cli.ts
+++ b/
server/tests/utils/cli.ts
@@
-7,7
+7,7
@@
function getEnvCli (server?: ServerInfo) {
}
async function execCLI (command: string) {
- return new Promise((res, rej) => {
+ return new Promise
<string>
((res, rej) => {
exec(command, (err, stdout, stderr) => {
if (err) return rej(err)