@@ -43,19 +43,77 @@ test('[node-hugo] ', async t => {
hasError=true
}
t.false(hasError,'[hugo build] does not throw an error')
t.false(hasError,'does not throw an error')
constdeflatedOutput=output.replace(/\s/g,'')
// Ensure build statistics are as we expect.
t.true(deflatedOutput.includes('Pages|2Paginatorpages|0Non-pagefiles|1Staticfiles|0Processedimages|0Aliases|0Sitemaps|1Cleaned|0'),'[hugo build] console output statistics are as expected')
t.true(deflatedOutput.includes('Pages|2Paginatorpages|0Non-pagefiles|1Staticfiles|0Processedimages|0Aliases|0Sitemaps|1Cleaned|0'),'console output statistics are as expected')