Skip to content

Commit

Permalink
Merge pull request #1500 from balena-io/remove-deep-pine-import
Browse files Browse the repository at this point in the history
test-lib/api-helpers: Remove deep pinejs import
  • Loading branch information
thgreasi authored Dec 15, 2023
2 parents 86458e5 + 818072d commit 4fce0be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test-lib/api-helpers.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -83,7 +83,7 @@ export const addImageToRelease = async (
};

export const expectResourceToMatch = async <T = AnyObject>(
pineUser: PineTest | PinejsClient | { token: string } | string,
pineUser: PineTest | sbvrUtils.PinejsClient | { token: string } | string,
resource: string,
id: number | AnyObject,
expectations: Dictionary<
Expand Down

0 comments on commit 4fce0be

Please sign in to comment.