2017-10-05 82 views
0

我有一個奇怪的場景,其中懸停在Visual Studio代碼中的變量上的工具提示信息停止與Jest測試框架一起工作。在Mocha完全相同的測試將顯示我調試時的工具提示。使用笑話時vscode工具提示不起作用

VSCode版本1.16.1

這是通常出現的是,工具提示:
The tooltip that normally appears

使所述工具提示停止顯示該測試:

var axios = require('axios') 

describe('asdf',() =>{ 
    it('does stuff', async() => { 

     var boo = { 'hi':'bye'} 
     console.log(boo) 

     // uncomment out this line and the tooltip disappears! 
     //var result = axios.post('', {}) 
    }) 
}) 

github repo for reproduction

回答

0

它看起來像是VSCode中的一個錯誤,報告爲here