Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 26ab596

Browse files
committed
refactor: fix Sonar smell
1 parent 5a3bedb commit 26ab596

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

test/e2e/support/helpers.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ const fixturesFolder = (folderName) => {
3636
};
3737

3838
const createCore = () => {
39-
const core = new Core({
39+
return new Core({
4040
onlyProgrammaticOptions: true,
4141
plugins: [AdminApiPlugin],
4242
});
43-
44-
return core;
4543
};
4644

4745
const startExistingCore = (core, mocksPath, options = {}) => {

0 commit comments

Comments
 (0)