From d60e81030053774c439c5b74c91b490d8a1959f1 Mon Sep 17 00:00:00 2001 From: Cafe137 Date: Thu, 3 Oct 2024 09:44:46 +0200 Subject: [PATCH 1/2] fix: handle null pinnings as empty list --- src/modules/pinning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/pinning.ts b/src/modules/pinning.ts index c0ab5795..0335ffb7 100644 --- a/src/modules/pinning.ts +++ b/src/modules/pinning.ts @@ -64,5 +64,5 @@ export async function getAllPins(requestOptions: BeeRequestOptions): Promise Date: Thu, 3 Oct 2024 09:55:27 +0200 Subject: [PATCH 2/2] test: increase timeout --- jest.config.ts | 2 +- src/modules/pinning.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index 978a793c..542e0d5b 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -83,6 +83,6 @@ export default async (): Promise => { testPathIgnorePatterns: ['/node_modules/'], // Increase timeout since we have long running cryptographic functions - testTimeout: 4 * 60 * 1000, + testTimeout: 8 * 60 * 1000, } } diff --git a/src/modules/pinning.ts b/src/modules/pinning.ts index 0335ffb7..9e1e6393 100644 --- a/src/modules/pinning.ts +++ b/src/modules/pinning.ts @@ -64,5 +64,5 @@ export async function getAllPins(requestOptions: BeeRequestOptions): Promise