Closed makenneth closed 1 month ago
If user has an outgoing request and use the generic commands, the chat history becomes a mess.
Note:
sinon.stub
sandbox.stub
chat.test
sandbox.restore()
mynah.test
beforeEach
vscode current opens up a new tab if there is an outgoing request. This PR mimics their behavior.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
If user has an outgoing request and use the generic commands, the chat history becomes a mess.
Note:
sinon.stub
->sandbox.stub
inchat.test
since there is only asandbox.restore()
, which affected the other test file.mynah.test
to usebeforeEach
setup as it is difficult to debug shared setupSolution
vscode current opens up a new tab if there is an outgoing request. This PR mimics their behavior.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.