[英]ember-cli test not working with phantomjs in docker
運行ember test --host 172.17.0.2 --test-port 4450
,我收到以下錯誤。
Error: Browser failed to connect within 30s. testem.js not loaded?
由於我使用的是docker容器,我假設我需要將主機和端口更新為打開的docker主機和端口。
這是我的testem.js
文件
/*jshint node:true*/
module.exports = {
"framework": "qunit",
"test_page": "tests/index.html?hidepassed",
"phantomjs_debug_port": 4500,
"disable_watching": true,
"launch_in_ci": [
"PhantomJS"
],
"launch_in_dev": [
"PhantomJS",
"Chrome"
]
};
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.