Add yarn jest to the github workflow

This commit is contained in:
Jean-Baptiste Bellet
2021-08-24 14:38:24 +02:00
parent 7cdf09322c
commit 149c0d4de4

View File

@@ -273,6 +273,9 @@ jobs:
- name: Run JS tests
run: RAILS_ENV=test bundle exec rake karma:run
- name: Run jest tests
run: yarn jest
# Migration tests need to be run in a separate task.
# See: https://github.com/openfoodfoundation/openfoodnetwork/pull/6924#issuecomment-813056525
- name: Run migration tests