Last active
December 23, 2018 11:02
-
-
Save goldbergyoni/6c23d92d5d506ce5161ff4905f16af47 to your computer and use it in GitHub Desktop.
Typical test linting findings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe("Too short description", () => { | |
| const userToken = userService.getDefaultToken() // *error:no-setup-in-describe, use hooks (sparingly) instead | |
| it("Some description", () => {});//* error: valid-test-description. Must include the word "Should" + at least 5 words | |
| }); | |
| it.skip("Test name", () => {// *error:no-skipped-tests, error:error:no-global-tests. Put tests only under describe or suite | |
| expect("somevalue"); // error:no-assert | |
| }); | |
| it("Test name", () => {*//error:no-identical-title. Assign unique titles to tests | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment