File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/src/main/kotlin/cc/unitmesh/ide/javascript/provider/testing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ class JSAutoTestService : AutoTestService() {
57
57
58
58
val elementToTest = runReadAction { Util .getElementToTest(psiElement) }
59
59
if (elementToTest == null ) {
60
- log.warn (" Failed to find element to test for: ${psiElement} , check your function is exported." )
60
+ log.error (" Failed to find element to test for: ${psiElement} , check your function is exported." )
61
61
return null
62
62
}
63
63
64
64
val elementName = runReadAction { JSPsiUtil .elementName(elementToTest) }
65
65
if (elementName == null ) {
66
- log.warn (" Failed to find element name for: $psiElement " )
66
+ log.error (" Failed to find element name for: $psiElement " )
67
67
return null
68
68
}
69
69
You can’t perform that action at this time.
0 commit comments