add more tests (#26)

* added more tests

* (fix) no cpu profile.
This commit is contained in:
2021-04-29 21:42:51 +02:00
committed by GitHub
parent 23418bbc60
commit 924fca5b90
14 changed files with 196 additions and 39 deletions

View File

@ -0,0 +1,9 @@
require('module-alias/register');
const { CreateResultTable, f } = require('@dsabot/CreateResultTable');
it('turn any number into a string', () => {
expect(f(2)).toBe('+2');
expect(f(0)).toBe('0');
expect(f(-1)).toBe('-1');
});