소스 검색

test: fix test case name

Evan You 2 년 전
부모
커밋
96e8e99304
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/compiler-core/__tests__/transforms/transformExpressions.spec.ts

+ 1 - 1
packages/compiler-core/__tests__/transforms/transformExpressions.spec.ts

@@ -431,7 +431,7 @@ describe('compiler: expression transform', () => {
     })
   })
 
-  test('should not bail constant on strings w/ ()', () => {
+  test('should bail constant for global identifiers w/ new or call expressions', () => {
     const node = parseWithExpressionTransform(
       `{{ new Date().getFullYear() }}`,
     ) as InterpolationNode