Skip to content

Commit

Permalink
test: Make makeFakeStorageKit more like vstorage.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 authored and mhofman committed Feb 7, 2025
1 parent 418814c commit fe360e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/internal/src/storage-test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const makeFakeStorageKit = (rootPath, rootOptions) => {
data.delete(key);
}
}
break;
return true;
}
case 'append': {
trace('toStorage append', message);
Expand Down Expand Up @@ -205,7 +205,7 @@ export const makeFakeStorageKit = (rootPath, rootOptions) => {
streamCell.values.push(value);
data.set(key, JSON.stringify(streamCell));
}
break;
return true;
}
case 'size':
// Intentionally incorrect because it counts non-child descendants,
Expand Down

0 comments on commit fe360e5

Please sign in to comment.