diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/unit/abort_controller_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/command_test.ts | 3 | ||||
-rw-r--r-- | cli/tests/unit/dom_exception_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/fs_events_test.ts | 3 | ||||
-rw-r--r-- | cli/tests/unit/network_interfaces_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/opcall_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/path_from_url_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/read_text_file_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/ref_unref_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/structured_clone_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/version_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/wasm_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/webcrypto_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/webgpu_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/write_text_file_test.ts | 2 |
15 files changed, 30 insertions, 2 deletions
diff --git a/cli/tests/unit/abort_controller_test.ts b/cli/tests/unit/abort_controller_test.ts index 6b7bea899..2df953773 100644 --- a/cli/tests/unit/abort_controller_test.ts +++ b/cli/tests/unit/abort_controller_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals } from "./test_util.ts"; Deno.test(function basicAbortController() { diff --git a/cli/tests/unit/command_test.ts b/cli/tests/unit/command_test.ts index 2a0562c93..e7f940535 100644 --- a/cli/tests/unit/command_test.ts +++ b/cli/tests/unit/command_test.ts @@ -1,4 +1,5 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals, diff --git a/cli/tests/unit/dom_exception_test.ts b/cli/tests/unit/dom_exception_test.ts index b6b6a4440..d0a0b8a94 100644 --- a/cli/tests/unit/dom_exception_test.ts +++ b/cli/tests/unit/dom_exception_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assertEquals, assertNotEquals, diff --git a/cli/tests/unit/fs_events_test.ts b/cli/tests/unit/fs_events_test.ts index 2888a05f8..cdfb67657 100644 --- a/cli/tests/unit/fs_events_test.ts +++ b/cli/tests/unit/fs_events_test.ts @@ -1,4 +1,5 @@ -// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals, assertThrows, delay } from "./test_util.ts"; // TODO(ry) Add more tests to specify format. diff --git a/cli/tests/unit/network_interfaces_test.ts b/cli/tests/unit/network_interfaces_test.ts index a0e6e691a..287b7d421 100644 --- a/cli/tests/unit/network_interfaces_test.ts +++ b/cli/tests/unit/network_interfaces_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/opcall_test.ts b/cli/tests/unit/opcall_test.ts index 970731855..61c3c8849 100644 --- a/cli/tests/unit/opcall_test.ts +++ b/cli/tests/unit/opcall_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertStringIncludes, unreachable } from "./test_util.ts"; Deno.test(async function sendAsyncStackTrace() { diff --git a/cli/tests/unit/path_from_url_test.ts b/cli/tests/unit/path_from_url_test.ts index f375d84f4..9842c29c2 100644 --- a/cli/tests/unit/path_from_url_test.ts +++ b/cli/tests/unit/path_from_url_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assertEquals, assertThrows } from "./test_util.ts"; // @ts-expect-error TypeScript (as of 3.7) does not support indexing namespaces by symbol diff --git a/cli/tests/unit/read_text_file_test.ts b/cli/tests/unit/read_text_file_test.ts index 5e455c583..e78276dde 100644 --- a/cli/tests/unit/read_text_file_test.ts +++ b/cli/tests/unit/read_text_file_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals, diff --git a/cli/tests/unit/ref_unref_test.ts b/cli/tests/unit/ref_unref_test.ts index da6e95efc..7ce72a170 100644 --- a/cli/tests/unit/ref_unref_test.ts +++ b/cli/tests/unit/ref_unref_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assertNotEquals, execCode } from "./test_util.ts"; Deno.test("[unrefOp] unref'ing invalid ops does not have effects", async () => { diff --git a/cli/tests/unit/structured_clone_test.ts b/cli/tests/unit/structured_clone_test.ts index c60b38a8a..722c9c8cc 100644 --- a/cli/tests/unit/structured_clone_test.ts +++ b/cli/tests/unit/structured_clone_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals, assertThrows } from "./test_util.ts"; // Basic tests for the structured clone algorithm. Mainly tests TypeScript diff --git a/cli/tests/unit/version_test.ts b/cli/tests/unit/version_test.ts index 3b371a2bc..55a4bc6c9 100644 --- a/cli/tests/unit/version_test.ts +++ b/cli/tests/unit/version_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals } from "./test_util.ts"; Deno.test(function version() { diff --git a/cli/tests/unit/wasm_test.ts b/cli/tests/unit/wasm_test.ts index 03ed0e298..73d243de8 100644 --- a/cli/tests/unit/wasm_test.ts +++ b/cli/tests/unit/wasm_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals, assertRejects } from "./test_util.ts"; // The following blob can be created by taking the following s-expr and pass diff --git a/cli/tests/unit/webcrypto_test.ts b/cli/tests/unit/webcrypto_test.ts index 86d9f38ab..c522bf1e6 100644 --- a/cli/tests/unit/webcrypto_test.ts +++ b/cli/tests/unit/webcrypto_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals, diff --git a/cli/tests/unit/webgpu_test.ts b/cli/tests/unit/webgpu_test.ts index c903736f8..decceb0f9 100644 --- a/cli/tests/unit/webgpu_test.ts +++ b/cli/tests/unit/webgpu_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals } from "./test_util.ts"; let isCI: boolean; diff --git a/cli/tests/unit/write_text_file_test.ts b/cli/tests/unit/write_text_file_test.ts index ee9cac177..ce179ab99 100644 --- a/cli/tests/unit/write_text_file_test.ts +++ b/cli/tests/unit/write_text_file_test.ts @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { assert, assertEquals, |