add pause command

This commit is contained in:
Dave Horton
2020-02-03 20:51:50 -05:00
parent 348a820044
commit 2811e35c6b
6 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"pause": {
"length": 3
}
}

View File

@@ -36,6 +36,9 @@ test('app payload parsing tests', (t) => {
task = makeTask(logger, require('./data/good/dial-listen'));
t.ok(task.name === 'dial', 'parsed dial w/ listen');
task = makeTask(logger, require('./data/good/pause'));
t.ok(task.name === 'pause', 'parsed pause');
const alt = require('./data/good/alternate-syntax');
const normalize = require('../lib/utils/normalize-jamones');
normalize(logger, alt).forEach((t) => {