From 818072d75ce662d991039f78681181820724116e Mon Sep 17 00:00:00 2001 From: Thodoris Greasidis Date: Fri, 15 Dec 2023 14:58:16 +0200 Subject: [PATCH] test-lib/api-helpers: Remove deep pinejs import Change-type: patch --- test/test-lib/api-helpers.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test-lib/api-helpers.ts b/test/test-lib/api-helpers.ts index b42bfd162..2d084e872 100644 --- a/test/test-lib/api-helpers.ts +++ b/test/test-lib/api-helpers.ts @@ -1,7 +1,7 @@ -import type { PinejsClient } from '@balena/pinejs/out/sbvr-api/sbvr-utils'; +import type { sbvrUtils } from '@balena/pinejs'; +import { expect } from 'chai'; import { Release } from '../../src/balena-model'; import { supertest, UserObjectParam } from '../test-lib/supertest'; -import { expect } from 'chai'; import { version } from './versions'; import { pineTest, PineTest } from './pinetest'; @@ -83,7 +83,7 @@ export const addImageToRelease = async ( }; export const expectResourceToMatch = async ( - pineUser: PineTest | PinejsClient | { token: string } | string, + pineUser: PineTest | sbvrUtils.PinejsClient | { token: string } | string, resource: string, id: number | AnyObject, expectations: Dictionary<