Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chutzpah /coverage does not support ES6 idioms #831

Open
jmwolfe opened this issue Sep 24, 2023 · 0 comments
Open

Chutzpah /coverage does not support ES6 idioms #831

jmwolfe opened this issue Sep 24, 2023 · 0 comments

Comments

@jmwolfe
Copy link

jmwolfe commented Sep 24, 2023

The version of blanket.js used in Chutzpah 2022 4.4.13 doesn't support ES6 idioms like template strings (backtick quote)

Error: SyntaxError: Unexpected character '`' (152:26)
    at pp.raise (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:1750:31)
    at pp.getTokenFromCode (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:3493:26)
    at pp.readToken (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:3196:33)
    at pp.nextToken (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:3188:90)
    at pp.next (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:3135:26)
    at pp.eat (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:2206:30)
    at pp.parseSubscripts (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:1057:53)
    at pp.parseExprSubscripts (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:1030:33)
    at pp.parseMaybeUnary (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:1009:37)
    at pp.parseExprOps (file:///D:/git/source/ContentManager/packages/Chutzpah.4.4.13/tools/ChutzpahTestHarnessFiles/Coverage/blanket_jasmine_v2.js:953:37)
While Running:D:\git\source\mytests.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant