summaryrefslogtreecommitdiff
path: root/test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-12-18 18:25:49 -0500
committerRyan Dahl <ry@tinyclouds.org>2018-12-18 18:27:05 -0500
commit968d50842512a007dc9c2e4ae31b1970fdc6e6a2 (patch)
tree240d8b019a6694b6722ea4cfc3576e3f5b1b4bd0 /test.ts
parent6e077e71fa27dbb993a49cda211c5385a76ca6aa (diff)
Rename project to deno_std
Move typescript files to net/ Original: https://github.com/denoland/deno_std/commit/99e276eb89fbe0003bfa8d9e7b907ff3ef19ee47
Diffstat (limited to 'test.ts')
-rwxr-xr-x[-rw-r--r--]test.ts13
1 files changed, 6 insertions, 7 deletions
diff --git a/test.ts b/test.ts
index 7c395663e..95003e0ad 100644..100755
--- a/test.ts
+++ b/test.ts
@@ -1,13 +1,14 @@
+#!/usr/bin/env deno --allow-run --allow-net
import { run } from "deno";
-import "./bufio_test.ts";
-import "./http_test.ts";
-import "./textproto_test.ts";
-import { runTests, completePromise } from "./file_server_test.ts";
+import "net/bufio_test.ts";
+import "net/http_test.ts";
+import "net/textproto_test.ts";
+import { runTests, completePromise } from "net/file_server_test.ts";
// file server test
const fileServer = run({
- args: ["deno", "--allow-net", "file_server.ts", "."]
+ args: ["deno", "--allow-net", "net/file_server.ts", "."]
});
// I am also too lazy to do this properly LOL
runTests(new Promise(res => setTimeout(res, 5000)));
@@ -15,5 +16,3 @@ runTests(new Promise(res => setTimeout(res, 5000)));
await completePromise;
fileServer.close();
})();
-
-// TODO import "./http_test.ts";