Skip to content

Commit

Permalink
Update s3.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jan 25, 2025
1 parent a6dee98 commit 74f8731
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/js/bun/s3/s3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ function isDockerEnabled(): boolean {
}

const allCredentials = [
// {
// accessKeyId: getSecret("S3_R2_ACCESS_KEY"),
// secretAccessKey: getSecret("S3_R2_SECRET_KEY"),
// endpoint: getSecret("S3_R2_ENDPOINT"),
// bucket: getSecret("S3_R2_BUCKET"),
// service: "R2" as string,
// },
{
accessKeyId: getSecret("S3_R2_ACCESS_KEY"),
secretAccessKey: getSecret("S3_R2_SECRET_KEY"),
endpoint: getSecret("S3_R2_ENDPOINT"),
bucket: getSecret("S3_R2_BUCKET"),
service: "R2" as string,
},
];

if (isDockerEnabled()) {
Expand Down Expand Up @@ -543,7 +543,7 @@ for (let credentials of allCredentials) {
expect(bytes).toBe(10);
expect(Buffer.concat(chunks)).toEqual(Buffer.from("Hello Bun!"));
});
it.only("should work with large files ", async () => {
it("should work with large files ", async () => {
const s3file = s3(tmp_filename + "-readable-stream-big", options);
await s3file.write(bigishPayload);
const stream = s3file.stream();
Expand Down

0 comments on commit 74f8731

Please sign in to comment.