2

我正在尝试使用 Jasmine2 获取当前规范名称

  1. spec.getFullName()- 在 Jasmine1 中有效,但在 Jasmine2 中无效

  2. spec.description

    var spec = it ('spec name' ,function () {
        console.log(spec.description);
    });
    

但两者都不起作用。任何想法?谢谢。

4

0 回答 0