Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
bubblev
/
swagger-ui
Segui
4
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Merge pull request
#3799
from swagger-api/bug/mocha-exclusive-tests
Add ESLint rule that catches `describe.only`, `it.only`
bubble
kyle
7 anni fa
committed by
GitHub
parent
c4a74d4db7
075c94f68c
commit
96b0b04538
3 ha cambiato i file
con
6 aggiunte
e
3 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+4
-2
.eslintrc
+1
-0
package.json
+1
-1
test/core/plugins/oas3/wrap-auth-selectors.js
+ 4
- 2
.eslintrc
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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(){
Scrivi
Anteprima
Caricamento…
Annulla
Salva