mirror of
https://github.com/coder/code-server.git
synced 2024-12-24 02:01:46 +03:00
Use warn log level for integration tests
Just to limit all the noise from code-server's startup output.
This commit is contained in:
parent
4925e97080
commit
ad4a70c684
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user