diff --git a/packages/internal/src/storage-test-utils.js b/packages/internal/src/storage-test-utils.js index 15774a7ec01..8d4717cd8bf 100644 --- a/packages/internal/src/storage-test-utils.js +++ b/packages/internal/src/storage-test-utils.js @@ -152,7 +152,7 @@ export const makeFakeStorageKit = (rootPath, rootOptions) => { /** @type {StorageEntry[]} */ const newEntries = message.args; for (const [key, value] of newEntries) { - if (value != null) { + if (value) { data.set(key, value); } else { data.delete(key);