refactor(接口测试): 推荐断言默认启用
--bug=1011525 --user=赵勇 【接口测试】接口断言,推荐json-path断言默认是禁用的 https://www.tapd.cn/55049933/s/1123142
This commit is contained in:
parent
c414f9f4e9
commit
11491a4fba
|
@ -232,6 +232,7 @@ export default {
|
|||
.replaceAll('^', "\\^").replaceAll('{', "\\{").replaceAll('}', "\\}").replaceAll('$', "\\$");
|
||||
}
|
||||
jsonItem.expect = expect;
|
||||
jsonItem.enable = true;
|
||||
this.assertions.jsonPath.push(jsonItem);
|
||||
},
|
||||
clearJson() {
|
||||
|
|
Loading…
Reference in New Issue