Skip to content

Commit

Permalink
refactor: simplify variable initialization in tests (#1297)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
thebedigupta and derberg authored Oct 14, 2024
1 parent 254b072 commit 298479a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/generator/test/renderer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 298479a

Please sign in to comment.