2020-01-02 15:13:47 -05:00
|
|
|
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
2018-10-19 15:25:29 -04:00
|
|
|
|
2018-08-30 13:49:24 -04:00
|
|
|
// This test is executed as part of tools/test.py
|
2019-10-04 20:28:51 -04:00
|
|
|
// But it can also be run manually: ./target/debug/deno cli/js/unit_tests.ts
|
2018-12-23 11:44:08 -05:00
|
|
|
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./blob_test.ts";
|
2019-05-01 23:56:42 -04:00
|
|
|
import "./body_test.ts";
|
2018-11-04 18:36:46 -05:00
|
|
|
import "./buffer_test.ts";
|
2019-03-06 16:54:58 -05:00
|
|
|
import "./build_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./chmod_test.ts";
|
2019-05-07 21:58:58 -04:00
|
|
|
import "./chown_test.ts";
|
2020-01-08 09:17:44 -05:00
|
|
|
import "./compiler_api_test.ts";
|
2018-08-27 14:59:38 -04:00
|
|
|
import "./console_test.ts";
|
2018-09-30 18:06:41 -04:00
|
|
|
import "./copy_file_test.ts";
|
2019-01-23 07:20:53 -05:00
|
|
|
import "./custom_event_test.ts";
|
2018-12-23 11:44:08 -05:00
|
|
|
import "./dir_test.ts";
|
2019-08-27 11:33:39 -04:00
|
|
|
import "./dispatch_json_test.ts";
|
2019-07-29 05:11:08 -04:00
|
|
|
import "./error_stack_test.ts";
|
2019-01-05 10:02:44 -05:00
|
|
|
import "./event_test.ts";
|
|
|
|
import "./event_target_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./fetch_test.ts";
|
2019-04-12 14:54:13 -04:00
|
|
|
import "./file_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./files_test.ts";
|
2018-11-04 13:05:02 -05:00
|
|
|
import "./form_data_test.ts";
|
2019-05-17 14:03:01 -04:00
|
|
|
import "./get_random_values_test.ts";
|
2019-01-16 17:57:15 -05:00
|
|
|
import "./globals_test.ts";
|
2018-11-02 21:43:37 -04:00
|
|
|
import "./headers_test.ts";
|
2020-01-16 19:42:58 -05:00
|
|
|
import "./internals_test.ts";
|
2019-04-08 09:11:32 -04:00
|
|
|
import "./link_test.ts";
|
2019-02-12 21:14:02 -05:00
|
|
|
import "./location_test.ts";
|
2018-09-12 22:04:45 -04:00
|
|
|
import "./make_temp_dir_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./metrics_test.ts";
|
|
|
|
import "./mixins/dom_iterable_test.ts";
|
|
|
|
import "./mkdir_test.ts";
|
|
|
|
import "./net_test.ts";
|
|
|
|
import "./os_test.ts";
|
2018-11-15 23:07:40 -05:00
|
|
|
import "./process_test.ts";
|
2019-11-26 03:40:57 -05:00
|
|
|
import "./realpath_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./read_dir_test.ts";
|
|
|
|
import "./read_file_test.ts";
|
2018-09-25 00:20:49 -04:00
|
|
|
import "./read_link_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./rename_test.ts";
|
2019-05-01 23:56:42 -04:00
|
|
|
import "./request_test.ts";
|
2018-10-30 15:58:55 -04:00
|
|
|
import "./resources_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./stat_test.ts";
|
2020-01-16 19:42:58 -05:00
|
|
|
import "./symbols_test.ts";
|
2018-09-19 00:38:24 -04:00
|
|
|
import "./symlink_test.ts";
|
2018-09-20 18:53:29 -04:00
|
|
|
import "./text_encoding_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./timers_test.ts";
|
2019-09-23 14:40:38 -04:00
|
|
|
import "./tls_test.ts";
|
2018-09-30 15:06:20 -04:00
|
|
|
import "./truncate_test.ts";
|
2018-12-17 20:07:47 -05:00
|
|
|
import "./url_test.ts";
|
2018-10-21 11:07:29 -04:00
|
|
|
import "./url_search_params_test.ts";
|
2019-05-01 05:08:12 -04:00
|
|
|
import "./utime_test.ts";
|
2018-10-26 21:34:42 -04:00
|
|
|
import "./write_file_test.ts";
|
2019-02-02 01:27:42 -05:00
|
|
|
import "./performance_test.ts";
|
2019-03-04 11:04:19 -05:00
|
|
|
import "./permissions_test.ts";
|
2019-02-18 18:43:02 -05:00
|
|
|
import "./version_test.ts";
|
2018-12-23 11:44:08 -05:00
|
|
|
|
2019-10-04 20:28:51 -04:00
|
|
|
import { runIfMain } from "../../std/testing/mod.ts";
|
2019-05-08 19:15:24 -04:00
|
|
|
|
|
|
|
async function main(): Promise<void> {
|
|
|
|
// Testing entire test suite serially
|
|
|
|
runIfMain(import.meta);
|
|
|
|
}
|
|
|
|
|
|
|
|
main();
|