Skip to content
代码片段 群组 项目
提交 a1eb700d 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Fix the unit test.

上级 85b3ad1b
No related branches found
No related tags found
无相关合并请求
......@@ -75,7 +75,8 @@ test('server url', () => {
ipcClient.emit(ipcServer.eventType.serverUrl)
return util.waitFor(responseWaitPeriod).then(() => {
expect(response).not.toBeNull()
expect(response.includes('http://localhost')).toBeTruthy()
expect(response.url).not.toBeNull()
expect(response.url.includes('http://localhost')).toBeTruthy()
})
})
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册