mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Expect processorSubType to be truthy
This commit is contained in:
parent
298436da95
commit
b96353dc3c
1 changed files with 2 additions and 1 deletions
|
|
@ -98,13 +98,14 @@ describe.concurrent('Apps', async () => {
|
||||||
expect( Array.isArray( scan.info.machoMeta.architectures ) ).toBe( true )
|
expect( Array.isArray( scan.info.machoMeta.architectures ) ).toBe( true )
|
||||||
|
|
||||||
// Expect that first of machoMeta.architectures has processorSubType as string
|
// Expect that first of machoMeta.architectures has processorSubType as string
|
||||||
expect( typeof scan.info.machoMeta.architectures[0].processorSubType ).toBe( 'string' )
|
expect( typeof scan.info.machoMeta.architectures[0].processorSubType ).toBeTruthy()
|
||||||
|
|
||||||
// Export info.infoPlist to be none empty object
|
// Export info.infoPlist to be none empty object
|
||||||
expect( typeof scan.info.infoPlist ).toBe( 'object' )
|
expect( typeof scan.info.infoPlist ).toBe( 'object' )
|
||||||
expect( Object.keys( scan.info.infoPlist ).length ).toBeGreaterThan( 0 )
|
expect( Object.keys( scan.info.infoPlist ).length ).toBeGreaterThan( 0 )
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue