2018-12-11 17:56:32 -05:00
|
|
|
import { run } from "deno";
|
|
|
|
|
2018-11-07 14:23:06 -05:00
|
|
|
import "./bufio_test.ts";
|
2018-12-17 11:49:10 -05:00
|
|
|
import "./http_test.ts";
|
2018-11-08 12:26:20 -05:00
|
|
|
import "./textproto_test.ts";
|
2018-12-11 17:56:32 -05:00
|
|
|
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";
|