diff --git a/src/terraform.test.js b/src/terraform.test.js index 8299f0ba3..e61a72ff2 100644 --- a/src/terraform.test.js +++ b/src/terraform.test.js @@ -1,6 +1,18 @@ +const winston = require('winston'); const { iterativeCmlRunnerTpl } = require('./terraform'); describe('Terraform tests', () => { + beforeAll(() => { + winston.configure({ + transports: [ + new winston.transports.Console({ + level: 'error', + handleExceptions: true + }) + ] + }); + }); + test('default options', async () => { const output = iterativeCmlRunnerTpl({}); expect(JSON.stringify(output, null, 2)).toMatchInlineSnapshot(`