Use warn log level for integration tests

Just to limit all the noise from code-server's startup output.
This commit is contained in:
Asher 2021-05-05 17:58:04 -05:00
parent 4925e97080
commit ad4a70c684
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import { runCodeServer } from "../../src/node/main"
import * as httpserver from "./httpserver" import * as httpserver from "./httpserver"
export async function setup(argv: string[], configFile?: string): Promise<httpserver.HttpServer> { export async function setup(argv: string[], configFile?: string): Promise<httpserver.HttpServer> {
argv = ["--bind-addr=localhost:0", ...argv] argv = ["--bind-addr=localhost:0", "--log=warn", ...argv]
const cliArgs = parse(argv) const cliArgs = parse(argv)
const configArgs = parseConfigFile(configFile || "", "test/integration.ts") const configArgs = parseConfigFile(configFile || "", "test/integration.ts")