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