diff --git a/apps/generator/cli.js b/apps/generator/cli.js index feb12446a..0fd464b10 100755 --- a/apps/generator/cli.js +++ b/apps/generator/cli.js @@ -195,4 +195,4 @@ async function watcherHandler(changedFiles) { } } -process.on('unhandledRejection', showErrorAndExit); +process.on('unhandledRejection', showErrorAndExit); \ No newline at end of file diff --git a/apps/generator/test/renderer.test.js b/apps/generator/test/renderer.test.js index f6c0c6458..bd1a6489e 100644 --- a/apps/generator/test/renderer.test.js +++ b/apps/generator/test/renderer.test.js @@ -10,8 +10,8 @@ jest.mock('@asyncapi/generator-react-sdk'); describe('React renderer', () => { describe('saveRenderedReactContent', () => { - let util = undefined; - let AsyncReactSDK = undefined; + let util; + let AsyncReactSDK; beforeAll(() => { util = require('../lib/utils'); AsyncReactSDK = require('@asyncapi/generator-react-sdk');