Skip to content

feat(jest config): Disallow using test, test.each in defining tests

Vitaly Slobodin requested to merge vs-jest-disallow-test-each into master

Per the discussion in Slack we promote usage of it over test when defining tests:

🙂

it('foo')
it.each('bar') {}

🙁

test('foo') {}
test.each('bar') {}

Corresponding MR to replace all test usages with it created.

Edited by Vitaly Slobodin

Merge request reports