Setup Jest #57
4 changed files with 10 additions and 2 deletions
|
@ -13,6 +13,12 @@ steps:
|
|||
- yarn test
|
||||
depends_on:
|
||||
- build
|
||||
- name: lint
|
||||
image: node
|
||||
commands:
|
||||
- yarn lint
|
||||
depends_on:
|
||||
- build
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
1
.eslintignore
Normal file
1
.eslintignore
Normal file
|
@ -0,0 +1 @@
|
|||
dist/
|
|
@ -44,6 +44,7 @@
|
|||
"module": "writable",
|
||||
"require": "writable",
|
||||
"process": "writable",
|
||||
"console": "writable"
|
||||
"console": "writable",
|
||||
"jest": "writable"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"build": "tsc",
|
||||
"start": "ts-node app.ts",
|
||||
"test": "jest",
|
||||
"lint": "eslint"
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://gitea.vylpes.xyz/RabbitLabs/random-bunny/issues",
|
||||
|
|
Loading…
Reference in a new issue