Fix unit tests (#2428)

* only create toaster if we're on the browser

* drop/fix references to window

* add back fe unit tests
This commit is contained in:
Severiano Badajoz
2021-09-15 00:43:59 +00:00
committed by GitHub
parent 01013bcf04
commit 0634160c0c
4 changed files with 15 additions and 20 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
run: make pydist install-dist dev-env-server
- name: Unit tests
run: |
make unit-test-server
make unit-test-server unit-test-client
bash <(curl -s https://codecov.io/bash) -y .codecov.yml -k backend/server -cF backend,python,unitTest
cd client && ./node_modules/codecov/bin/codecov --yml=../.codecov.yml --root=../ --gcov-root=../ -C -F frontend,javascript,unitTest