diff options
| author | Casper Beyer <caspervonb@pm.me> | 2020-09-01 10:26:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-31 22:26:55 -0400 |
| commit | 644190eed862c2224630dd68404a5fd6e2e30440 (patch) | |
| tree | ccd5de766b75372550f788e889830049f631a614 | |
| parent | 94d38eee4cf352ca177e8ce2c7ca5d1e79f5de10 (diff) | |
test(std): ensure mod.ts modules have a test coverage (#7264)
| -rw-r--r-- | cli/test_runner.rs | 1 | ||||
| -rw-r--r-- | std/async/test.ts | 1 | ||||
| -rw-r--r-- | std/flags/test.ts | 1 | ||||
| -rw-r--r-- | std/hash/test.ts (renamed from std/hash/hash_test.ts) | 0 | ||||
| -rw-r--r-- | std/http/test.ts | 1 | ||||
| -rw-r--r-- | std/io/test.ts | 1 | ||||
| -rw-r--r-- | std/mime/test.ts | 1 | ||||
| -rw-r--r-- | std/path/test.ts | 1 |
8 files changed, 7 insertions, 0 deletions
diff --git a/cli/test_runner.rs b/cli/test_runner.rs index 5de323d1c..cb8f7b271 100644 --- a/cli/test_runner.rs +++ b/cli/test_runner.rs @@ -160,6 +160,7 @@ mod tests { format!("{}/file_server_test.ts", root_url), format!("{}/racing_server_test.ts", root_url), format!("{}/server_test.ts", root_url), + format!("{}/test.ts", root_url), ] .into_iter() .map(|f| Url::parse(&f).unwrap()) diff --git a/std/async/test.ts b/std/async/test.ts new file mode 100644 index 000000000..543491080 --- /dev/null +++ b/std/async/test.ts @@ -0,0 +1 @@ +import "./mod.ts"; diff --git a/std/flags/test.ts b/std/flags/test.ts new file mode 100644 index 000000000..543491080 --- /dev/null +++ b/std/flags/test.ts @@ -0,0 +1 @@ +import "./mod.ts"; diff --git a/std/hash/hash_test.ts b/std/hash/test.ts index 4d7d7465d..4d7d7465d 100644 --- a/std/hash/hash_test.ts +++ b/std/hash/test.ts diff --git a/std/http/test.ts b/std/http/test.ts new file mode 100644 index 000000000..543491080 --- /dev/null +++ b/std/http/test.ts @@ -0,0 +1 @@ +import "./mod.ts"; diff --git a/std/io/test.ts b/std/io/test.ts new file mode 100644 index 000000000..543491080 --- /dev/null +++ b/std/io/test.ts @@ -0,0 +1 @@ +import "./mod.ts"; diff --git a/std/mime/test.ts b/std/mime/test.ts new file mode 100644 index 000000000..543491080 --- /dev/null +++ b/std/mime/test.ts @@ -0,0 +1 @@ +import "./mod.ts"; diff --git a/std/path/test.ts b/std/path/test.ts new file mode 100644 index 000000000..543491080 --- /dev/null +++ b/std/path/test.ts @@ -0,0 +1 @@ +import "./mod.ts"; |
