question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The presence of special symbols is an error.

See original GitHub issue

example:

    test('test ^', () =>
    {
        console.log("hello ")
    });

When you click Debug.

The character ^ causes an error.

Console information:

Ran all test suites matching /PointInPolyline.test.ts/i with tests matching "test \\^".

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
eventualbuddhacommented, Dec 31, 2018

I’m running into what might be the same thing when trying to debug a test with a backtick in the name:

❯ cd /Users/donovan/src/public/coffee-lex ; env "CI=vscode-jest-tests" /Users/donovan/bin/node --inspect-brk=49907 node_modules/jest/bin/jest.js --runInBand test.ts --testNamePattern "identifies `not of` as a single operator"
zsh: command not found: not
1reaction
connectdotzcommented, Dec 11, 2021

hmm… yup, backtick embedded in a test name is a problem. Looks like it needs to be handled differently than the normal regex escape…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regular expression: check for the presence of special ...
I get the following error. This error is from the weblogic command window. I dont understand these special characters.
Read more >
How to check if a string has ANY special characters? [closed]
!' I would like the program to return 'True', or for the input 'No Special Chars' it would return 'False'. By special character...
Read more >
Check if a string consists only of special characters
Given string contains alphabets, number, and special characters. ... Regex to check if the string contains only special characters.
Read more >
Special Characters Not Permitted in Filenames - IT Support - IUP
Instructors should be especially aware that the use of illegal characters in the Course Files or Course Content areas will cause similar errors...
Read more >
Unable to load data in target due to presence of ... - Search
... to load data in target due to presence of special characters and spaces in the column name. The following database errors occurred:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found