Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Unable to generate coverage when using jest #88

Open
mschadev opened this issue Jul 12, 2022 · 0 comments
Open

Unable to generate coverage when using jest #88

mschadev opened this issue Jul 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mschadev
Copy link
Member

mschadev commented Jul 12, 2022

npm run test 실행시 아래 에러가 발생함.
<template> 안에 있는 Optional Chaining 문법을 처리하지 못하는 버그

Running coverage on untested files...Failed to collect coverage from web2/src/pages/rider/_nickname.vue
ERROR: Unexpected token (1:2407)
STACK: SyntaxError: Unexpected token (1:2407)
    at pp$4.raise (web2/node_modules/vue-template-es2015-compiler/buble.js:2757:13)
    at pp.unexpected (web2/node_modules/vue-template-es2015-compiler/buble.js:647:8)
    at pp$3.parseExprAtom (web2/node_modules/vue-template-es2015-compiler/buble.js:2196:10)
    at Parser.<anonymous> (web2/node_modules/vue-template-es2015-compiler/buble.js:6003:24)
    at Parser.parseExprAtom (web2/node_modules/vue-template-es2015-compiler/buble.js:6129:31)
    at pp$3.parseExprSubscripts (web2/node_modules/vue-template-es2015-compiler/buble.js:2047:19)
    at pp$3.parseMaybeUnary (web2/node_modules/vue-template-es2015-compiler/buble.js:2024:17)
    at pp$3.parseExprOps (web2/node_modules/vue-template-es2015-compiler/buble.js:1966:19)
    at pp$3.parseMaybeConditional (web2/node_modules/vue-template-es2015-compiler/buble.js:1949:19)
    at pp$3.parseMaybeAssign (web2/node_modules/vue-template-es2015-compiler/buble.js:1925:19)

Reference

@mschadev mschadev added the bug Something isn't working label Jul 12, 2022
@mschadev mschadev changed the title jest 실행시 커버리지 생성 불가 Unable to generate coverage when using jest Jul 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant