运行时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"
]
};