Skip to content

Commit

Permalink
chore: remove 'deps.ts' and 'deps-test.ts', not needed with JSR imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Mar 3, 2024
1 parent 687dace commit 797024d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion client.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "./deps-tests.ts";
import { assertEquals } from "@std/assert/assert_equals";
import { Client } from "./client.ts";

Deno.test({
Expand Down
4 changes: 0 additions & 4 deletions deps-tests.ts

This file was deleted.

1 change: 0 additions & 1 deletion deps.ts

This file was deleted.

2 changes: 1 addition & 1 deletion helpers.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "./deps-tests.ts";
import { assertEquals } from "@std/assert/assert_equals";
import { bin2hex, isValidPort, makeDateLong, makeDateShort, sha256digestHex } from "./helpers.ts";

Deno.test({
Expand Down
5 changes: 4 additions & 1 deletion integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
*
* See the README for instructions.
*/
import { assert, assertEquals, assertInstanceOf, assertRejects } from "./deps-tests.ts";
import { assert } from "@std/assert/assert";
import { assertEquals } from "@std/assert/assert_equals";
import { assertInstanceOf } from "@std/assert/assert_instance_of";
import { assertRejects } from "@std/assert/assert_rejects";
import { S3Client, S3Errors } from "./mod.ts";

const config = {
Expand Down
2 changes: 1 addition & 1 deletion signing.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "./deps-tests.ts";
import { assertEquals } from "@std/assert/assert_equals";
import { bin2hex } from "./helpers.ts";
import { _internalMethods as methods, presignV4, signV4 } from "./signing.ts";

Expand Down
2 changes: 1 addition & 1 deletion transform-chunk-sizes.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "./deps-tests.ts";
import { assertEquals } from "@std/assert/assert_equals";
import { TransformChunkSizes } from "./transform-chunk-sizes.ts";

/**
Expand Down
2 changes: 1 addition & 1 deletion transform-chunk-sizes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Buffer } from "./deps.ts";
import { Buffer } from "@std/io/buffer";

/**
* This stream transform will buffer the data it receives until it has enough to form
Expand Down

0 comments on commit 797024d

Please sign in to comment.