refactor(接口测试): 推荐断言默认启用

--bug=1011525 --user=赵勇 【接口测试】接口断言,推荐json-path断言默认是禁用的 https://www.tapd.cn/55049933/s/1123142
This commit is contained in:
fit2-zhao 2022-03-22 13:27:15 +08:00 committed by fit2-zhao
parent c414f9f4e9
commit 11491a4fba
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ export default {
.replaceAll('^', "\\^").replaceAll('{', "\\{").replaceAll('}', "\\}").replaceAll('$', "\\$");
}
jsonItem.expect = expect;
jsonItem.enable = true;
this.assertions.jsonPath.push(jsonItem);
},
clearJson() {