diff --git a/archive/_test_common.ts b/archive/_test_utils.ts similarity index 100% rename from archive/_test_common.ts rename to archive/_test_utils.ts diff --git a/archive/tar_test.ts b/archive/tar_test.ts index 7f7eecd93..d30c2fe93 100644 --- a/archive/tar_test.ts +++ b/archive/tar_test.ts @@ -16,7 +16,7 @@ import { Untar } from "./untar.ts"; import { Buffer } from "@std/io/buffer"; import { copy } from "@std/io/copy"; import { readAll } from "@std/io/read-all"; -import { filePath, testdataDir } from "./_test_common.ts"; +import { filePath, testdataDir } from "./_test_utils.ts"; Deno.test("createTarArchive", async function () { // initialize diff --git a/archive/untar_test.ts b/archive/untar_test.ts index 8b18cd0e7..967811743 100644 --- a/archive/untar_test.ts +++ b/archive/untar_test.ts @@ -11,7 +11,7 @@ import { import { Buffer } from "@std/io/buffer"; import { copy } from "@std/io/copy"; import { readAll } from "@std/io/read-all"; -import { filePath, testdataDir } from "./_test_common.ts"; +import { filePath, testdataDir } from "./_test_utils.ts"; interface TestEntry { name: string; diff --git a/deno.json b/deno.json index 4319f4103..754c5ce1d 100644 --- a/deno.json +++ b/deno.json @@ -65,7 +65,7 @@ "typos": "typos -c ./.github/workflows/typos.toml", "build:crypto": "deno task --cwd crypto/_wasm wasmbuild", "wasmbuild": "deno run -A jsr:@deno/wasmbuild@0.17.1 --js-ext mjs --sync", - "cov": "deno coverage --ignore=\"**/*.generated.mjs\"", + "cov": "deno coverage --ignore=\"**/*.generated.mjs,**/_test_utils.ts\"", "cov:gen": "deno task cov --lcov --output=cov.lcov", "cov:view": "deno task cov --html", "ok": "deno task lint && deno fmt --check && deno task test:browser && deno task test" diff --git a/json/_test_common.ts b/json/_test_utils.ts similarity index 100% rename from json/_test_common.ts rename to json/_test_utils.ts diff --git a/json/concatenated_json_parse_stream_test.ts b/json/concatenated_json_parse_stream_test.ts index 563290ab2..bf0fc987b 100644 --- a/json/concatenated_json_parse_stream_test.ts +++ b/json/concatenated_json_parse_stream_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "@std/assert"; import { ConcatenatedJsonParseStream } from "./concatenated_json_parse_stream.ts"; -import { assertInvalidParse, assertValidParse } from "./_test_common.ts"; +import { assertInvalidParse, assertValidParse } from "./_test_utils.ts"; Deno.test({ name: "ConcatenatedJsonParseStream", diff --git a/json/json_parse_stream_test.ts b/json/json_parse_stream_test.ts index b4624a1f3..7f7b246c3 100644 --- a/json/json_parse_stream_test.ts +++ b/json/json_parse_stream_test.ts @@ -4,7 +4,7 @@ import { assertEquals } from "@std/assert"; import { TextDelimiterStream } from "@std/streams/text-delimiter-stream"; import { TextLineStream } from "@std/streams/text-line-stream"; import { JsonParseStream } from "./json_parse_stream.ts"; -import { assertInvalidParse, assertValidParse } from "./_test_common.ts"; +import { assertInvalidParse, assertValidParse } from "./_test_utils.ts"; Deno.test({ name: "JsonParseStream", diff --git a/streams/_test_common.ts b/streams/_test_utils.ts similarity index 100% rename from streams/_test_common.ts rename to streams/_test_utils.ts diff --git a/streams/delimiter_stream_test.ts b/streams/delimiter_stream_test.ts index 988938867..a22e078b9 100644 --- a/streams/delimiter_stream_test.ts +++ b/streams/delimiter_stream_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { DelimiterStream } from "./delimiter_stream.ts"; -import { testTransformStream } from "./_test_common.ts"; +import { testTransformStream } from "./_test_utils.ts"; const DELIMITER_STREAM_INPUTS = [ "a", // more than one subsequent chunks with no delimiters diff --git a/streams/text_delimiter_stream_test.ts b/streams/text_delimiter_stream_test.ts index 3951de38a..a6c19bace 100644 --- a/streams/text_delimiter_stream_test.ts +++ b/streams/text_delimiter_stream_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { TextDelimiterStream } from "./text_delimiter_stream.ts"; -import { testTransformStream } from "./_test_common.ts"; +import { testTransformStream } from "./_test_utils.ts"; Deno.test("TextDelimiterStream handles discard", async () => { const delimStream = new TextDelimiterStream("foo", { diff --git a/webgpu/_test_util.ts b/webgpu/_test_utils.ts similarity index 100% rename from webgpu/_test_util.ts rename to webgpu/_test_utils.ts diff --git a/webgpu/create_capture_test.ts b/webgpu/create_capture_test.ts index 63f78a1fb..2ebce2d0c 100644 --- a/webgpu/create_capture_test.ts +++ b/webgpu/create_capture_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "@std/assert"; -import { ignore } from "./_test_util.ts"; +import { ignore } from "./_test_utils.ts"; import { createCapture } from "./create_capture.ts"; Deno.test({ diff --git a/webgpu/texture_with_data_test.ts b/webgpu/texture_with_data_test.ts index 646b6a997..fa2b1111b 100644 --- a/webgpu/texture_with_data_test.ts +++ b/webgpu/texture_with_data_test.ts @@ -2,7 +2,7 @@ import { assert } from "@std/assert/assert"; import { createTextureWithData } from "./texture_with_data.ts"; -import { ignore } from "./_test_util.ts"; +import { ignore } from "./_test_utils.ts"; Deno.test({ ignore,