Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsmedley committed Feb 3, 2025
1 parent 41de242 commit 612c768
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- run: yarn run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '22.x'
- run: yarn install --frozen-lockfile
- run: yarn run build
- run: node --test --test-concurrency 1
Expand Down
2 changes: 1 addition & 1 deletion test/bucketManager.spec.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ test("list bucket without cid", async () => {
listedBucketCid = await listedBucket.CID()

// Assert listed CID
assert.equal(listedBucketCid, "");
assert.equal(listedBucketCid, undefined);
} finally {
// Delete new bucket
await bucketManager.delete(bucketNameToGenerate);
Expand Down
2 changes: 1 addition & 1 deletion test/bucketManager.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ test("list bucket without cid", async () => {
listedBucketCid = await listedBucket.CID()

// Assert listed CID
assert.equal(listedBucketCid, "");
assert.equal(listedBucketCid, undefined);
} finally {
// Delete new bucket
await bucketManager.delete(bucketNameToGenerate);
Expand Down

0 comments on commit 612c768

Please sign in to comment.