Initial commit

This commit is contained in:
Domen Kožar 2019-09-29 21:52:02 +02:00 committed by Domen Kožar
commit a6de7cd0c2
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
14 changed files with 4063 additions and 0 deletions

8
__tests__/main.test.ts Normal file
View file

@ -0,0 +1,8 @@
import {extrasperse} from '../src/utils'
test('extrasperse', async() => {
expect(extrasperse('-A', ["foo", "bar"])).toEqual(["-A", "foo", "-A", "bar"]);
expect(extrasperse('-A', [])).toEqual([])
});
// TODO: hopefully github actions will support integration tests