Setup Jest #57

Merged
Vylpes merged 7 commits from feature/1-jest into develop 2023-04-22 13:20:31 +01:00
4 changed files with 10 additions and 2 deletions
Showing only changes of commit c6eebcd819 - Show all commits

View file

@ -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
View file

@ -0,0 +1 @@
dist/

View file

@ -44,6 +44,7 @@
"module": "writable", "module": "writable",
"require": "writable", "require": "writable",
"process": "writable", "process": "writable",
"console": "writable" "console": "writable",
"jest": "writable"
} }
} }

View file

@ -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",