doc: fix GPU infoType typings (#19470)
This commit is contained in:
parent
db3cf52add
commit
5aa1385cfc
2 changed files with 3 additions and 3 deletions
|
@ -1058,7 +1058,7 @@ describe('app module', () => {
|
|||
it('fails for invalid info_type', () => {
|
||||
const invalidType = 'invalid'
|
||||
const expectedErrorMessage = "Invalid info type. Use 'basic' or 'complete'"
|
||||
return expect(app.getGPUInfo(invalidType)).to.eventually.be.rejectedWith(expectedErrorMessage)
|
||||
return expect(app.getGPUInfo(invalidType as any)).to.eventually.be.rejectedWith(expectedErrorMessage)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue