Tests: Start implementing tests
Some checks failed
discord bot tests / discord bot tests (push) Failing after 1s
Some checks failed
discord bot tests / discord bot tests (push) Failing after 1s
Only convertDateToISOString for now
This commit is contained in:
parent
e04d8857f9
commit
8b992f56e9
4 changed files with 3681 additions and 124 deletions
27
.github/workflows/run_node_tests.yml
vendored
Normal file
27
.github/workflows/run_node_tests.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: discord bot tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "*" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
discord_bot_tests:
|
||||
runs-on: ubuntu-latest
|
||||
name: discord bot tests
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: install node and npm
|
||||
run: |
|
||||
apt update
|
||||
apt install nodejs npm -y
|
||||
- name: install packages
|
||||
run: |
|
||||
npm install
|
||||
- name: run tests
|
||||
run: |
|
||||
npm jest
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue