mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
test: add husky and lint
This commit is contained in:
parent
27286a5bff
commit
780874ece9
2 changed files with 6 additions and 3 deletions
|
@ -171,6 +171,11 @@
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/"
|
"registry": "https://registry.npmjs.org/"
|
||||||
},
|
},
|
||||||
|
"husky": {
|
||||||
|
"hooks": {
|
||||||
|
"pre-commit": "yarn run lint"
|
||||||
|
}
|
||||||
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"commitlint": {
|
"commitlint": {
|
||||||
"extends": [
|
"extends": [
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
const timeout = 5000;
|
const timeout = 5000;
|
||||||
|
|
||||||
describe(
|
describe('/ (Home Page)', () => {
|
||||||
'/ (Home Page)',
|
|
||||||
() => {
|
|
||||||
let page;
|
let page;
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
|
|
Loading…
Reference in a new issue