summaryrefslogtreecommitdiff
path: root/cli/js/deno.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-27 14:51:22 +0200
committerGitHub <noreply@github.com>2020-04-27 14:51:22 +0200
commit8e4333fd99bdc71020c4e2d135da8315f94d9763 (patch)
tree79b3f9eee4068058a13240c523cecbd0cc471739 /cli/js/deno.ts
parentdf0000ff0a3ce20292fe73b909cd31bd352d5266 (diff)
BREAKING: remove Deno.runTests() API (#4922)
Deno.runTests() interface is not yet good enough to be exposed publicly with stability guarantees. This commit removes public API related to testing: Deno.runTests() and Deno.TestMessage, but keeps them exposed on Deno.internal object so they can be used with "deno test" subcommand.
Diffstat (limited to 'cli/js/deno.ts')
-rw-r--r--cli/js/deno.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/cli/js/deno.ts b/cli/js/deno.ts
index 71d0fdf99..caf98ac70 100644
--- a/cli/js/deno.ts
+++ b/cli/js/deno.ts
@@ -114,13 +114,7 @@ export { utimeSync, utime } from "./ops/fs/utime.ts";
export { version } from "./version.ts";
export { writeFileSync, writeFile, WriteFileOptions } from "./write_file.ts";
export const args: string[] = [];
-export {
- RunTestsOptions,
- TestDefinition,
- TestMessage,
- runTests,
- test,
-} from "./testing.ts";
+export { TestDefinition, test } from "./testing.ts";
// These are internal Deno APIs. We are marking them as internal so they do not
// appear in the runtime type library.