Skip to content

Commit 5ce1b19

Browse files
committed
PR comments
Signed-off-by: Ravindra Meena <rmeena840@gmail.com>
1 parent becead8 commit 5ce1b19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/btcindexer/src/storage.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ describe("CFStorage", () => {
384384
});
385385

386386
it("insertOrUpdateNbtcTxs should handle empty array", async () => {
387-
expect(await storage.insertOrUpdateNbtcTxs([])).not.toBeNull();
387+
expect(await storage.insertOrUpdateNbtcTxs([])).toBeUndefined();
388388
});
389389

390390
it("updateNbtcTxsStatus should handle empty array", async () => {
@@ -632,7 +632,7 @@ describe("CFStorage", () => {
632632
});
633633

634634
describe("Storage Helper Functions - Edge Cases", () => {
635-
it("fetchPackageConfigs should return empty array when no active packages", async () => {
635+
it("fetchPackageConfigs should only return active packages", async () => {
636636
const db = await mf.getD1Database("DB");
637637
await db
638638
.prepare(

0 commit comments

Comments
 (0)