Add test for onDidCloseTerminal
Add test for onDidCloseTerminal

Part of #10925

cleidigh/vscode,charlespierce/vscode,0xmohit/vscode,Microsoft/vscode,eamodio/vscode,gagangupt16/vscode,DustinCampbell/vscode,0xmohit/vscode,landonepps/vscode,hashhar/vscode,microlv/vscode,cleidigh/vscode,DustinCampbell/vscode,veeramarni/vscode,KattMingMing/vscode,hoovercj/vscode,joaomoreno/vscode,gagangupt16/vscode,rishii7/vscode,Krzysztof-Cieslak/vscode,eamodio/vscode,hashhar/vscode,landonepps/vscode,Microsoft/vscode,radshit/vscode,Microsoft/vscode,Zalastax/vscode,rishii7/vscode,mjbvz/vscode,microsoft/vscode,gagangupt16/vscode,microlv/vscode,landonepps/vscode,Microsoft/vscode,radshit/vscode,charlespierce/vscode,Microsoft/vscode,rishii7/vscode,microsoft/vscode,the-ress/vscode,zyml/vscode,zyml/vscode,Zalastax/vscode,the-ress/vscode,Krzysztof-Cieslak/vscode,cra0zy/VSCode,jchadwick/vscode,DustinCampbell/vscode,veeramarni/vscode,hashhar/vscode,charlespierce/vscode,joaomoreno/vscode,hashhar/vscode,jchadwick/vscode,radshit/vscode,gagangupt16/vscode,hungys/vscode,matthewshirley/vscode,cleidigh/vscode,cleidigh/vscode,joaomoreno/vscode,mjbvz/vscode,zyml/vscode,radshit/vscode,Microsoft/vscode,hashhar/vscode,eamodio/vscode,microlv/vscode,KattMingMing/vscode,jchadwick/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,rishii7/vscode,mjbvz/vscode,cleidigh/vscode,joaomoreno/vscode,zyml/vscode,cleidigh/vscode,stringham/vscode,KattMingMing/vscode,radshit/vscode,microsoft/vscode,Krzysztof-Cieslak/vscode,gagangupt16/vscode,matthewshirley/vscode,microsoft/vscode,rkeithhill/VSCode,Zalastax/vscode,Zalastax/vscode,hoovercj/vscode,0xmohit/vscode,veeramarni/vscode,landonepps/vscode,microlv/vscode,rishii7/vscode,joaomoreno/vscode,matthewshirley/vscode,jchadwick/vscode,Zalastax/vscode,hungys/vscode,Krzysztof-Cieslak/vscode,Microsoft/vscode,KattMingMing/vscode,microlv/vscode,mjbvz/vscode,0xmohit/vscode,KattMingMing/vscode,Microsoft/vscode,hoovercj/vscode,stringham/vscode,mjbvz/vscode,matthewshirley/vscode,radshit/vscode,DustinCampbell/vscode,rishii7/vscode,KattMingMing/vscode,matthewshirley/vscode,Microsoft/vscode,Zalastax/vscode,charlespierce/vscode,DustinCampbell/vscode,stringham/vscode,hashhar/vscode,cleidigh/vscode,mjbvz/vscode,microsoft/vscode,Zalastax/vscode,veeramarni/vscode,Zalastax/vscode,zyml/vscode,joaomoreno/vscode,landonepps/vscode,Zalastax/vscode,hashhar/vscode,landonepps/vscode,Krzysztof-Cieslak/vscode,hashhar/vscode,eamodio/vscode,0xmohit/vscode,microsoft/vscode,stringham/vscode,cleidigh/vscode,veeramarni/vscode,stringham/vscode,jchadwick/vscode,KattMingMing/vscode,the-ress/vscode,mjbvz/vscode,0xmohit/vscode,0xmohit/vscode,KattMingMing/vscode,Krzysztof-Cieslak/vscode,zyml/vscode,stringham/vscode,eamodio/vscode,matthewshirley/vscode,Zalastax/vscode,0xmohit/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,cleidigh/vscode,eamodio/vscode,the-ress/vscode,charlespierce/vscode,charlespierce/vscode,jchadwick/vscode,hoovercj/vscode,mjbvz/vscode,the-ress/vscode,radshit/vscode,microsoft/vscode,the-ress/vscode,0xmohit/vscode,charlespierce/vscode,mjbvz/vscode,Zalastax/vscode,eamodio/vscode,landonepps/vscode,matthewshirley/vscode,gagangupt16/vscode,the-ress/vscode,DustinCampbell/vscode,hoovercj/vscode,hoovercj/vscode,cleidigh/vscode,cleidigh/vscode,joaomoreno/vscode,rishii7/vscode,the-ress/vscode,radshit/vscode,stringham/vscode,microsoft/vscode,microsoft/vscode,mjbvz/vscode,microsoft/vscode,zyml/vscode,Zalastax/vscode,microlv/vscode,DustinCampbell/vscode,gagangupt16/vscode,hashhar/vscode,Microsoft/vscode,cleidigh/vscode,rishii7/vscode,KattMingMing/vscode,Krzysztof-Cieslak/vscode,hungys/vscode,veeramarni/vscode,hungys/vscode,hoovercj/vscode,Zalastax/vscode,KattMingMing/vscode,KattMingMing/vscode,Zalastax/vscode,mjbvz/vscode,hoovercj/vscode,0xmohit/vscode,zyml/vscode,hungys/vscode,landonepps/vscode,stringham/vscode,microlv/vscode,hashhar/vscode,cleidigh/vscode,eamodio/vscode,matthewshirley/vscode,gagangupt16/vscode,zyml/vscode,Krzysztof-Cieslak/vscode,joaomoreno/vscode,hungys/vscode,eamodio/vscode,veeramarni/vscode,zyml/vscode,gagangupt16/vscode,veeramarni/vscode,Krzysztof-Cieslak/vscode,jchadwick/vscode,zyml/vscode,veeramarni/vscode,Krzysztof-Cieslak/vscode,KattMingMing/vscode,zyml/vscode,matthewshirley/vscode,microsoft/vscode,stringham/vscode,cleidigh/vscode,0xmohit/vscode,jchadwick/vscode,microsoft/vscode,microlv/vscode,matthewshirley/vscode,landonepps/vscode,landonepps/vscode,microsoft/vscode,joaomoreno/vscode,eamodio/vscode,hoovercj/vscode,matthewshirley/vscode,Krzysztof-Cieslak/vscode,matthewshirley/vscode,gagangupt16/vscode,Microsoft/vscode,zyml/vscode,0xmohit/vscode,microlv/vscode,Krzysztof-Cieslak/vscode,eamodio/vscode,hashhar/vscode,rishii7/vscode,charlespierce/vscode,joaomoreno/vscode,charlespierce/vscode,mjbvz/vscode,veeramarni/vscode,microlv/vscode,rishii7/vscode,gagangupt16/vscode,the-ress/vscode,DustinCampbell/vscode,veeramarni/vscode,the-ress/vscode,charlespierce/vscode,gagangupt16/vscode,microsoft/vscode,radshit/vscode,DustinCampbell/vscode,landonepps/vscode,DustinCampbell/vscode,mjbvz/vscode,hungys/vscode,Zalastax/vscode,radshit/vscode,veeramarni/vscode,veeramarni/vscode,DustinCampbell/vscode,joaomoreno/vscode,eamodio/vscode,gagangupt16/vscode,Krzysztof-Cieslak/vscode,hungys/vscode,rishii7/vscode,joaomoreno/vscode,radshit/vscode,the-ress/vscode,stringham/vscode,eamodio/vscode,microlv/vscode,DustinCampbell/vscode,Microsoft/vscode,radshit/vscode,0xmohit/vscode,mjbvz/vscode,DustinCampbell/vscode,Microsoft/vscode,microsoft/vscode,rishii7/vscode,landonepps/vscode,jchadwick/vscode,landonepps/vscode,jchadwick/vscode,Krzysztof-Cieslak/vscode,0xmohit/vscode,veeramarni/vscode,microlv/vscode,charlespierce/vscode,mjbvz/vscode,KattMingMing/vscode,hungys/vscode,stringham/vscode,microlv/vscode,landonepps/vscode,jchadwick/vscode,Microsoft/vscode,hungys/vscode,radshit/vscode,gagangupt16/vscode,hoovercj/vscode,jchadwick/vscode,joaomoreno/vscode,joaomoreno/vscode,the-ress/vscode,charlespierce/vscode,cleidigh/vscode,radshit/vscode,stringham/vscode,0xmohit/vscode,stringham/vscode,stringham/vscode,jchadwick/vscode,matthewshirley/vscode,microlv/vscode,hungys/vscode,zyml/vscode,hashhar/vscode,hashhar/vscode,landonepps/vscode,jchadwick/vscode,landonepps/vscode,jchadwick/vscode,Zalastax/vscode,hashhar/vscode,charlespierce/vscode,zyml/vscode,hungys/vscode,KattMingMing/vscode,Microsoft/vscode,microlv/vscode,DustinCampbell/vscode,matthewshirley/vscode,hoovercj/vscode,rishii7/vscode,the-ress/vscode,KattMingMing/vscode,charlespierce/vscode,cleidigh/vscode,gagangupt16/vscode,microlv/vscode,rishii7/vscode,the-ress/vscode,matthewshirley/vscode,stringham/vscode,zyml/vscode,hoovercj/vscode,veeramarni/vscode,charlespierce/vscode,jchadwick/vscode,eamodio/vscode,eamodio/vscode,hungys/vscode,hoovercj/vscode,hungys/vscode,0xmohit/vscode,the-ress/vscode,hungys/vscode,DustinCampbell/vscode,charlespierce/vscode,veeramarni/vscode,Zalastax/vscode,cleidigh/vscode,gagangupt16/vscode,joaomoreno/vscode,rishii7/vscode,matthewshirley/vscode,microsoft/vscode,joaomoreno/vscode,landonepps/vscode,charlespierce/vscode,0xmohit/vscode,mjbvz/vscode,microsoft/vscode,eamodio/vscode,Microsoft/vscode,KattMingMing/vscode,hashhar/vscode,DustinCampbell/vscode,hashhar/vscode,hashhar/vscode,mjbvz/vscode,rishii7/vscode,Microsoft/vscode,gagangupt16/vscode,hoovercj/vscode,rishii7/vscode,matthewshirley/vscode,stringham/vscode,DustinCampbell/vscode,radshit/vscode,hungys/vscode,joaomoreno/vscode,zyml/vscode,radshit/vscode,microlv/vscode,KattMingMing/vscode,jchadwick/vscode,hungys/vscode,eamodio/vscode,hoovercj/vscode,the-ress/vscode,radshit/vscode,hoovercj/vscode,veeramarni/vscode,stringham/vscode