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
ReferenceError: describe is not defined #24
Comments
What testing framework are you using? |
My bad, I didn't read the beggining of the docs. I assumed this lib ships
with its own assertion/test runner. I'll try with Jest.
…On Sat, May 5, 2018, 20:45 Kent C. Dodds ***@***.***> wrote:
What testing framework are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADfnGFtY5kxdxfH2e6irUqKkdHfIrHrHks5tveUmgaJpZM4TzuA8>
.
|
node @kentcdodds |
@blankzust, this requires that you run your tests with a framework that supports global |
ok,I will retry it and thx @kentcdodds |
How do I get this to work? I've installed Jest globally (and locally), and I've read that Babel comes bundled with |
How are you running it? |
That's what I'm not clear on. Am I supposed to let Jest search for the tests itself, or am I supposed to directly feed the JavaScript module I execute I tried:
Running jest plain does not find the tests. I don't have any Jest configuration. |
I recommend spending a few minutes in the jest documentation 👍 |
babel-plugin-tester
5.0.0:node
8.7.0:npm
5.4.2:Relevant code or config
What you did:
Run the sample code from the docs
What happened:
Throws with:
The text was updated successfully, but these errors were encountered: