2017-02-27 51 views

回答

2

那么一个nodelist不承担一个布尔值,以便测试将失败。请检查列表是否不为空(空)。

expect(abc).not.toBeNull()