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

Unable to generate coverage when using jest #88

@mschadev

Description

@mschadev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions