We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 523b529 commit 7b8ae97Copy full SHA for 7b8ae97
1 file changed
test/unit/commands/apps/join.unit.test.ts
@@ -1,4 +1,5 @@
1
import {expectOutput, runCommand} from '@heroku-cli/test-utils'
2
+import {HTTPError} from '@heroku/http-call'
3
import {expect} from 'chai'
4
import nock from 'nock'
5
@@ -40,7 +41,7 @@ describe('heroku apps:join', function () {
40
41
'myapp',
42
])
43
expect(error).to.exist
- expect(error!.body.error).to.eq('You do not have access to the team heroku-tools.')
44
+ expect((error as HTTPError).body.error).to.eq('You do not have access to the team heroku-tools.')
45
apiGetUserAccount.done()
46
apiPostCollaborators.done()
47
})
0 commit comments