当我进行排毒测试时,我得到一个错误信息

时间:2019-08-02 10:01:32

标签: react-native automated-tests detox

我正在detox/example中运行演示。但无法正常运行演示。

我只运行以下命令: 1,npm安装 2,npm运行build:ios 3,npm运行测试:ios

我刚在控制台中得到了这些错误信息。

detox[30235] INFO:  [DetoxServer.js] server listening on localhost:53335...
detox[30235] INFO:  [AppleSimUtils.js] com.xxx.xxx.xxx.debug launched. To watch simulator logs, run:
        /usr/bin/xcrun simctl spawn BE0CDB30-F235-41D2-BE85-488704F4A504 log stream --level debug --style compact --predicate 'processImagePath beginsWith "/Users/xxx/Library/Developer/CoreSimulator/Devices/BE0CDB30-F235-41D2-BE85-488704F4A504/data/Containers/Bundle/Application/460C7A3D-F8A1-4876-AFA9-3F227EEFDF64/xxx.app"'
  1) "before all" hook in "{root}"

  0 passing (2m)
  1 failing

  1) "before all" hook in "{root}":
     Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

为什么我得到此错误信息?我应该怎么做才能解决它?

0 个答案:

没有答案