mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- corrected docu
- run unit test correctly for backend
This commit is contained in:
parent
d53ec6e05d
commit
87db5ae31e
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
# Unit Tests
|
||||
- name: backend | unit tests
|
||||
run: docker run --rm ocelotsocialnetwork/backend:build yarn run test:jest
|
||||
run: docker run --rm ocelotsocialnetwork/backend:build yarn run test
|
||||
|
||||
##########################################################################
|
||||
# WEBAPP #################################################################
|
||||
|
||||
@ -178,32 +178,20 @@ database after each test, running the tests will wipe out all your data!
|
||||
{% tabs %}
|
||||
{% tab title="Docker" %}
|
||||
|
||||
Run the _**jest**_ tests:
|
||||
Run the unit tests:
|
||||
|
||||
```bash
|
||||
$ docker-compose exec backend yarn run test:jest
|
||||
```
|
||||
|
||||
Run the _**cucumber**_ features:
|
||||
|
||||
```bash
|
||||
$ docker-compose exec backend yarn run test:cucumber
|
||||
$ docker-compose exec backend yarn run test
|
||||
```
|
||||
|
||||
{% endtab %}
|
||||
|
||||
{% tab title="Without Docker" %}
|
||||
|
||||
Run the _**jest**_ tests:
|
||||
Run the unit tests:
|
||||
|
||||
```bash
|
||||
$ yarn run test:jest
|
||||
```
|
||||
|
||||
Run the _**cucumber**_ features:
|
||||
|
||||
```bash
|
||||
$ yarn run test:cucumber
|
||||
$ yarn run test
|
||||
```
|
||||
|
||||
{% endtab %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user