Skip to content

Commit 99174e7

Browse files
fix: Types
1 parent 8d6f04b commit 99174e7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

spec/mocks/collections.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ export const collectionFragmentMock: CollectionFragment = {
6464
createdAt: toUnixTimestamp(dbCollectionMock.created_at),
6565
}
6666

67-
export const thirdPartyFragmentMock: ThirdPartyFragment = {
67+
export const thirdPartyFragmentMock: ThirdPartyFragment & {
68+
isProgrammatic: boolean
69+
} = {
6870
id: dbTPCollectionMock.third_party_id,
6971
root: 'aRoot',
7072
managers: [wallet.address],

src/ThirdParty/utils.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { VirtualThirdPartyAttributes } from './VirtualThirdParty.types'
1515

1616
describe('when converting a third party fragment into a third party', () => {
1717
describe('when a complete fragment is supplied', () => {
18-
let fragment: ThirdPartyFragment
18+
let fragment: ThirdPartyFragment & { isProgrammatic: boolean }
1919

2020
beforeEach(() => {
2121
fragment = {
@@ -56,7 +56,7 @@ describe('when converting a third party fragment into a third party', () => {
5656
})
5757

5858
describe('when the third party metadata is null', () => {
59-
let fragment: ThirdPartyFragment
59+
let fragment: ThirdPartyFragment & { isProgrammatic: boolean }
6060

6161
beforeEach(() => {
6262
fragment = {

0 commit comments

Comments
 (0)