From 62496f733611fdeb23b5934d074c1204408474e1 Mon Sep 17 00:00:00 2001 From: Cafe137 <77121044+Cafe137@users.noreply.github.com> Date: Thu, 3 Oct 2024 01:04:57 -0700 Subject: [PATCH] fix: handle null pinnings as empty list (#955) * fix: handle null pinnings as empty list * 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 c0ab5795..9e1e6393 100644 --- a/src/modules/pinning.ts +++ b/src/modules/pinning.ts @@ -64,5 +64,5 @@ export async function getAllPins(requestOptions: BeeRequestOptions): Promise