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

feat(rules): add support for function declaration as test case #504

Commits on Jan 8, 2020

  1. feat(rules): add support for function declaration as test case

    Add support for the following test file structure.
    
    ```js
    test('my test', myTest)
    
    function myTest() {
      expect(true).toBe(true)
    }
    ```
    
    Methods that are directly referenced will be ananalyzed for the
    following rules `expect-expect` `no-if` `no-test-return-statement`,
    `no-try-expect`
    blake-newman committed Jan 8, 2020
    Copy the full SHA
    c4f7f87 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2020

  1. Copy the full SHA
    182a8a6 View commit details
    Browse the repository at this point in the history