File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -32,7 +32,7 @@ function smartuiSnapshot(name, options = {}) {
|
32 | 32 | options
|
33 | 33 | }, testType).then(resp => {
|
34 | 34 | if (resp.status >= 200 && resp.status < 300) {
|
35 |
| -if (resp.body.data?.warnings?.length) { |
| 35 | +if (resp.body.data.warnings.length) { |
36 | 36 | resp.body.data.warnings.map(e => cy.task('log', log('warn', e)));
|
37 | 37 | }
|
38 | 38 | cylog('smartuiSnapshot', `Snapshot captured: ${name}`);
|
|
You can’t perform that action at this time.
0 commit comments