diff options
Diffstat (limited to 'net/file_server_test.ts')
| -rw-r--r-- | net/file_server_test.ts | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/net/file_server_test.ts b/net/file_server_test.ts index e0abb1cf1..28357c912 100644 --- a/net/file_server_test.ts +++ b/net/file_server_test.ts @@ -1,10 +1,6 @@ import { readFile } from "deno"; -import { - test, - assert, - assertEqual -} from "../testing/mod.ts"; +import { test, assert, assertEqual } from "../testing/mod.ts"; // Promise to completeResolve when all tests completes let completeResolve; @@ -27,7 +23,9 @@ export function runTests(serverReadyPromise: Promise<any>) { 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("./azure-pipelines.yml")); + const localFile = new TextDecoder().decode( + await readFile("./azure-pipelines.yml") + ); assertEqual(downloadedFile, localFile); maybeCompleteTests(); }); |
