1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
denoland-deno/test.ts

20 lines
483 B
TypeScript
Raw Normal View History

import { run } from "deno";
2018-11-07 14:23:06 -05:00
import "./bufio_test.ts";
import "./http_test.ts";
2018-11-08 12:26:20 -05:00
import "./textproto_test.ts";
import { runTests, completePromise } from "./file_server_test.ts";
// file server test
const fileServer = run({
args: ["deno", "--allow-net", "file_server.ts", "."]
});
// I am also too lazy to do this properly LOL
runTests(new Promise(res => setTimeout(res, 1000)));
(async () => {
await completePromise;
fileServer.close();
})();
2018-11-07 14:23:06 -05:00
// TODO import "./http_test.ts";