Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 17, 2019
1 parent 51da88d commit 7cc2d88
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions test/snapshots/options.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -2992,3 +2992,80 @@ Generated by [AVA](https://ava.li).
test␊
[12:00:00] Finished 'main' after 100 ms`,
}

## No options | exec { opts: {} } 1

> Snapshot 1
{
exitCode: 0,
stderr: '',
stdout: `[12:00:00] Starting 'main'...␊
[12:00:00] [gulp-execa] echo test␊
test␊
[12:00:00] Finished 'main' after 100 ms`,
}

## No options | stream-buffer { opts: {} } 1

> Snapshot 1
{
exitCode: 0,
stderr: '',
stdout: `[12:00:00] Starting 'main'...␊
test␊
[12:00:00] Finished 'main' after 100 ms`,
}

## No options | stream-save { opts: {} } 1

> Snapshot 1
{
exitCode: 0,
stderr: '',
stdout: `[12:00:00] Starting 'main'...␊
[␊
{␊
"command": "echo test",␊
"exitCode": 0,␊
"exitCodeName": "SUCCESS",␊
"stdout": "test",␊
"stderr": "",␊
"all": "test",␊
"failed": false,␊
"timedOut": false,␊
"isCanceled": false,␊
"killed": false␊
}␊
]␊
[12:00:00] Finished 'main' after 100 ms`,
}

## No options | stream-stream { opts: {} } 1

> Snapshot 1
{
exitCode: 0,
stderr: '',
stdout: `[12:00:00] Starting 'main'...␊
test␊
[12:00:00] Finished 'main' after 100 ms`,
}

## No options | task { opts: {} } 1

> Snapshot 1
{
exitCode: 0,
stderr: '',
stdout: `[12:00:00] Starting 'main'...␊
[12:00:00] [gulp-execa] echo test␊
test␊
[12:00:00] Finished 'main' after 100 ms`,
}
Binary file modified test/snapshots/options.js.snap
Binary file not shown.

0 comments on commit 7cc2d88

Please sign in to comment.