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.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/file_server_test.ts b/net/file_server_test.ts
index 36fe8bdc3..e0abb1cf1 100644
--- a/net/file_server_test.ts
+++ b/net/file_server_test.ts
@@ -22,12 +22,12 @@ function maybeCompleteTests() {
export function runTests(serverReadyPromise: Promise<any>) {
test(async function serveFile() {
await serverReadyPromise;
- const res = await fetch("http://localhost:4500/.travis.yml");
+ 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");
const downloadedFile = await res.text();
- const localFile = new TextDecoder().decode(await readFile("./.travis.yml"));
+ const localFile = new TextDecoder().decode(await readFile("./azure-pipelines.yml"));
assertEqual(downloadedFile, localFile);
maybeCompleteTests();
});
@@ -38,7 +38,7 @@ export function runTests(serverReadyPromise: Promise<any>) {
assert(res.headers.has("access-control-allow-origin"));
assert(res.headers.has("access-control-allow-headers"));
const page = await res.text();
- assert(page.includes(".travis.yml"));
+ assert(page.includes("azure-pipelines.yml"));
maybeCompleteTests();
});