export default function(op, opts = {}) {
if ((!("search" in opts)) || (!("replacement" in opts))) {
throw new Error("Please provide 'search' and 'replacement' options to 'replace' plugin")
}
// rest goes here
actual output (with invalid opts):
% sigh -j 8 -vv
* running pipelines [ build ] with 8 jobs
actual output (with invalid opts):
Expected output should contains error message.