From 97744606d6da2e61a1aefa6af8f0f3b68f8827ab Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Sat, 25 Feb 2023 15:21:07 +0000 Subject: [PATCH] fix: enable last shard tests (#4) Fixes up traversing deep shards --- src/commands/utils/hamt-utils.ts | 6 +++--- test/rm.spec.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/utils/hamt-utils.ts b/src/commands/utils/hamt-utils.ts index 90147ba5..431c283f 100644 --- a/src/commands/utils/hamt-utils.ts +++ b/src/commands/utils/hamt-utils.ts @@ -96,6 +96,7 @@ export const recreateInitialHamtLevel = async (links: PBLink[]): Promise { expect(containingDirCid).to.eql(importerCid) }) - it.skip('results in the same hash as a sharded directory created by the importer when removing a subshard', async function () { + it('results in the same hash as a sharded directory created by the importer when removing a subshard', async function () { let { containingDirCid, fileName, @@ -195,7 +195,7 @@ describe('rm', () => { expect(containingDirCid).to.eql(importerCid) }) - it.skip('results in the same hash as a sharded directory created by the importer when removing a subshard of a subshard', async function () { + it('results in the same hash as a sharded directory created by the importer when removing a subshard of a subshard', async function () { let { containingDirCid, fileName,