Improve tests (#18)

Replaced mocha with jest. 
Test are split into unit and integration categories.
Dropped ESM dependency. Code is now being compiled into CJS
This commit is contained in:
Pavel
2021-02-14 00:35:02 +03:00
committed by GitHub
parent 399166efe8
commit 416221ea17
14 changed files with 4692 additions and 5542 deletions

4
jest.config.js Normal file
View File

@ -0,0 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};