mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 17:44:07 +02:00
Initial commit
This commit is contained in:
commit
a6de7cd0c2
14 changed files with 4063 additions and 0 deletions
8
__tests__/main.test.ts
Normal file
8
__tests__/main.test.ts
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue