Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Вход
bubblev
/
swagger-ui
Следить
4
В избранное
0
Форкнуть
0
Код
Задачи
0
Pull Request'ы
0
Релизы
0
Вики
Активность
Просмотр исходного кода
Merge pull request
#3799
from swagger-api/bug/mocha-exclusive-tests
Add ESLint rule that catches `describe.only`, `it.only`
bubble
kyle
7 лет назад
committed by
GitHub
Родитель
c4a74d4db7
075c94f68c
Сommit
96b0b04538
3 измененных файлов
:
6 добавлений
и
3 удалений
Разделённый вид
Опции Diff
Показать статистику
Скачать Patch файл
Скачать Diff файл
+4
-2
.eslintrc
+1
-0
package.json
+1
-1
test/core/plugins/oas3/wrap-auth-selectors.js
+ 4
- 2
.eslintrc
Просмотреть файл
@@ -16,7 +16,8 @@
"extends": ["eslint:recommended", "plugin:react/recommended"],
"plugins": [
"react"
"react",
"mocha"
],
"rules": {
@@ -32,6 +33,7 @@
"comma-dangle": 0,
"no-console": ["error", { allow: ["warn", "error"] }],
"react/jsx-no-bind": 1,
"react/display-name": 0
"react/display-name": 0,
"mocha/no-exclusive-tests": "error"
}
}
+ 1
- 0
package.json
Просмотреть файл
@@ -105,6 +105,7 @@
"enzyme": "^2.7.1",
"eslint": "^4.1.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-mocha": "^4.11.0",
"eslint-plugin-react": "^7.1.0",
"extract-text-webpack-plugin": "^2.1.2",
"file-loader": "0.11.2",
+ 1
- 1
test/core/plugins/oas3/wrap-auth-selectors.js
Просмотреть файл
@@ -5,7 +5,7 @@ import {
definitionsToAuthorize
} from "corePlugins/oas3/auth-extensions/wrap-selectors"
describe
.only
("oas3 plugin - auth extensions - wrapSelectors", function(){
describe("oas3 plugin - auth extensions - wrapSelectors", function(){
describe("execute", function(){
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить