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

escape-string-regexp / ansi-styles error: "Expected a string" #8647

Closed
built-tkambler opened this issue Jul 5, 2019 · 1 comment · May be fixed by joseroubert08/jest#34 or joseroubert08/jest#76
Closed

Comments

@built-tkambler
Copy link

built-tkambler commented Jul 5, 2019

🐛 Bug Report

Create a new Jest project. Run tests. Encounter a "TypeError: Expected a string" error.

To Reproduce

git clone [email protected]:tkambler/jest-bug-ansi-styles.git && \
  cd jest-bug-ansi-styles && \
  npm ci && \
  npm run test

Expected behavior

The "Expected a string" error should not occur.

Link to repl or repo (highly encouraged)

https://github.com/tkambler/jest-bug-ansi-styles

Run npx envinfo --preset jest

  System:
    OS: macOS 10.14.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
    Yarn: 1.16.0 - ~/.nvm/versions/node/v10.16.0/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
  npmPackages:
    jest: ^24.8.0 => 24.8.0
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant