Skip to content

Commit

Permalink
chore: bump version of @std library
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed May 10, 2024
1 parent b34c604 commit 5ac1d39
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: docker run --name minio --detach -e MINIO_ROOT_USER=AKIA_DEV -e MINIO_ROOT_PASSWORD=secretkey -e MINIO_REGION_NAME=dev-region -p 9000:9000 -p 9001:9001 --entrypoint /bin/sh minio/minio:RELEASE.2021-10-23T03-28-24Z -c 'mkdir -p /data/dev-bucket && minio server --console-address ":9001" /data'
# TODO: can we get jsr to load the dependency versions from deno.jsonc?
- name: Install dependencies
run: bunx jsr add @std/io @std/assert
run: bunx jsr add @std/io@0.224 @std/assert@0.224
- name: Convert integration test from Deno to Bun test runner
run: '(echo -e ''import { test } from "bun:test";\nconst Deno = { test: ({fn}: {fn: () => void, name: string}) => test(fn) };''; cat integration.ts ) > integration-bun.ts'
- name: Run integration tests with bun
Expand Down
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 "@std/assert/assert_equals";
import { assertEquals } from "@std/assert/assert-equals";
import { Client } from "./client.ts";

Deno.test({
Expand Down
4 changes: 2 additions & 2 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"lock": false,
"imports": {
"@std/assert": "jsr:@std/assert@^0.218",
"@std/io": "jsr:@std/io@^0.218"
"@std/assert": "jsr:@std/assert@^0.224",
"@std/io": "jsr:@std/io@^0.224"
}
}
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 "@std/assert/assert_equals";
import { assertEquals } from "@std/assert/assert-equals";
import { bin2hex, isValidPort, makeDateLong, makeDateShort, sha256digestHex } from "./helpers.ts";

Deno.test({
Expand Down
6 changes: 3 additions & 3 deletions integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* See the README for instructions.
*/
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 { 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 "@std/assert/assert_equals";
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 "@std/assert/assert_equals";
import { assertEquals } from "@std/assert/assert-equals";
import { TransformChunkSizes } from "./transform-chunk-sizes.ts";

/**
Expand Down

0 comments on commit 5ac1d39

Please sign in to comment.