test: Migration to jest (#935)

* jest initialised

* refactor: `connect()` and `openApp()`

* test: integrate to jest

* chore: renaming jests test commands

* chore: adding override rule for non `commands/serve` directories to skip jest rules
This commit is contained in:
Ahmad Mirzaei
2022-09-26 11:02:32 +02:00
committed by GitHub
parent dcebeb157c
commit 5990d85a95
11 changed files with 1486 additions and 143 deletions

2
jest.setup.js Normal file
View File

@@ -0,0 +1,2 @@
import '@testing-library/jest-dom';
import 'whatwg-fetch';