Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Concatenation in test case description causes test loading fail #43

Closed
zzzorgo opened this issue Apr 26, 2020 · 1 comment · Fixed by #68
Closed

Concatenation in test case description causes test loading fail #43

zzzorgo opened this issue Apr 26, 2020 · 1 comment · Fixed by #68
Labels
issue with dependency It is likely that a dependency is causing the issue being experienced.

Comments

@zzzorgo
Copy link

zzzorgo commented Apr 26, 2020

If you add description to your it test-case as two concatenated string via + operator test loading failes.

Minimal repository: https://github.com/zzzorgo/vscode-jest-test-adapter-issue
There is repo with two issues i was just too lazy to create separate repos, look for concatenatedDescription.test.js file

@rossknudsen
Copy link

For completeness - this seems to be an issue in the parser in jest-editor-support. There is an open PR to update the parser (jest-community/jest-editor-support#30) which may fix this.

@rossknudsen rossknudsen added the issue with dependency It is likely that a dependency is causing the issue being experienced. label Apr 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue with dependency It is likely that a dependency is causing the issue being experienced.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants