-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
valid-describe: warn if first argument is a function #61
Comments
Also see jestjs/jest#5493 |
I'll open a PR for this. |
Can I call dibs on this? |
@brianlmacdonald go for it - thanks! I noticed that the
when I believe that If you're feeling up for correcting that test case in your PR, that would be awesome too. 😄 |
Hey @macklinu, I added the appropriate warnings and tests-- the messages are as follows [message: 'First argument must be name', 'message: 'Describe requires name and callback arguments'']. Happy to change them to any house style verabe if you'd rather before I put in the PR. Also, I'm not familiar with husky or commitmsg-- can you tell me what these warnings are referring too so I can fix them? Hope you're having a good Saturday! |
The commit message must follow the form of "feat: some added feature". We use these semantic commits to publish from CI. See http://karma-runner.github.io/2.0/dev/git-commit-msg.html |
Ok, thanks! |
Resolved in #65. Closing. |
From #57 (comment)
Report in the
valid-describe
rule for the following case:The text was updated successfully, but these errors were encountered: