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