summaryrefslogtreecommitdiff
path: root/net/file_server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'net/file_server_test.ts')
-rw-r--r--net/file_server_test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/file_server_test.ts b/net/file_server_test.ts
index b751b1145..40bec1c4b 100644
--- a/net/file_server_test.ts
+++ b/net/file_server_test.ts
@@ -25,6 +25,7 @@ export function runTests(serverReadyPromise: Promise<any>) {
const res = await fetch("http://localhost:4500/.travis.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");
const downloadedFile = await res.text();
const localFile = new TextDecoder().decode(await readFile("./.travis.yml"));
assertEqual(downloadedFile, localFile);