mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[tslint] ban exclusive tests (#30448)
Fixes #30262 Adds tslint rules to explicitly ban `describe.only`, `it.only`, and `test.only`.
This commit is contained in:
parent
168d17e474
commit
3f5597a741
1 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,14 @@ rules:
|
|||
react-a11y-role: true
|
||||
react-a11y-tabindex-no-positive: true
|
||||
react-a11y-titles: true
|
||||
ban:
|
||||
- true
|
||||
- name: [describe, only]
|
||||
message: No exclusive suites.
|
||||
- name: [it, only]
|
||||
message: No exclusive tests.
|
||||
- name: [test, only]
|
||||
message: No exclusive tests.
|
||||
require-license-header:
|
||||
- true
|
||||
- |-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue