diff options
Diffstat (limited to 'net/file_server_test.ts')
| -rw-r--r-- | net/file_server_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/file_server_test.ts b/net/file_server_test.ts index 28357c912..bd00d749b 100644 --- a/net/file_server_test.ts +++ b/net/file_server_test.ts @@ -21,7 +21,7 @@ export function runTests(serverReadyPromise: Promise<any>) { const res = await fetch("http://localhost:4500/azure-pipelines.yml"); assert(res.headers.has("access-control-allow-origin")); assert(res.headers.has("access-control-allow-headers")); - assertEqual(res.headers.get("content-type"), "text/yaml"); + assertEqual(res.headers.get("content-type"), "text/yaml; charset=utf-8"); const downloadedFile = await res.text(); const localFile = new TextDecoder().decode( await readFile("./azure-pipelines.yml") |
