tests: added failing test for issue #1673

- demonstrates the regression
This commit is contained in:
Hannah Wolfe
2020-04-03 20:41:28 +01:00
committed by Hannah Wolfe
parent 75794c5dbc
commit a39bfa5fe3
+10
View File
@@ -164,6 +164,16 @@ const testCases = [
binInputParameters: ['./spec/artifacts/bom.handlebars', '-b', '-a'],
outputLocation: 'stdout',
expectedOutputSpec: './spec/expected/bom.amd.js'
},
// Issue #1673
{
binInputParameters: [
'--amd',
'--no-amd',
'spec/artifacts/empty.handlebars'
],
outputLocation: 'stdout',
expectedOutputSpec: './spec/expected/empty.common.js'
}
];