2017-02-17 107 views
0

當我運行測試測試時執行。但我看到的是這樣的:ng測試關閉jasmine

enter image description here

但我看到,所有測試都進行控制檯。 enter image description here

頁面測試後重新加載。爲什麼? 如何在瀏覽器中查看測試報告?

我希望看到這樣的事情:

enter image description here

+0

點擊調試按鈕,在因果報應頁面的右上角,然後右鍵點擊>檢查該頁面以打開控制檯。那是你要的嗎? –

+0

$ npm install量角器-jasmine2-html-reporter --save-dev使用 –

+0

@SimonBriggs不,它不是 –

回答

0

我不得不把它添加在配置

client: { 
    clearContext: false 
},