mirror of
https://github.com/pyscript/pyscript.git
synced 2026-05-13 06:04:20 -04:00
Add TS tests tooling (#661)
* install test dependencies * change config for tests * fix linter failing tests * add basic test file * add custom element registration to test * update dependencies * add jest config file * fix test calls on makefile and minor fix on test * update local npm version * clean testm file
This commit is contained in:
@@ -68,7 +68,8 @@ examples:
|
||||
test:
|
||||
make examples
|
||||
npm run build
|
||||
$(conda_run) pytest -vv $(ARGS) tests/ --log-cli-level=warning
|
||||
make test-ts
|
||||
make test-py
|
||||
|
||||
test-local:
|
||||
make examples
|
||||
@@ -81,7 +82,7 @@ test-py:
|
||||
|
||||
test-ts:
|
||||
@echo "Tests are coming :( this is a placeholder and it's meant to fail!"
|
||||
npm run tests
|
||||
npm run test
|
||||
|
||||
fmt: fmt-py fmt-ts
|
||||
@echo "Format completed"
|
||||
|
||||
Reference in New Issue
Block a user