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

Commit 85fda68

Browse files
committed
Fix sonar code smells
1 parent a1a1d2a commit 85fda68

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

test-e2e/browser/react-app/src/modules/about/AboutController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { about } from "mocks-server-admin-api-client";
33

44
import AboutView from "./AboutView";
55

6-
const Controller = connect(() => ({
6+
const AboutController = connect(() => ({
77
about: about.read.getters.value
88
}))(AboutView);
99

10-
export default Controller;
10+
export default AboutController;

test-e2e/browser/react-app/src/modules/behaviors/BehaviorsController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { behaviorsCollection } from "mocks-server-admin-api-client";
33

44
import BehaviorsView from "./BehaviorsView";
55

6-
const Controller = connect(() => ({
6+
const BehaviorsController = connect(() => ({
77
behaviors: behaviorsCollection.read.getters.value
88
}))(BehaviorsView);
99

10-
export default Controller;
10+
export default BehaviorsController;

test-e2e/browser/react-app/src/modules/current-behavior/CurrentBehaviorController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ const currentFixture = new Selector(
4444
}
4545
);
4646

47-
const Controller = connect(() => ({
47+
const CurrentBehaviorController = connect(() => ({
4848
behavior: currentBehavior.read.getters.value,
4949
fixture: currentFixture.read.getters.value
5050
}))(CurrentBehaviorView);
5151

52-
export default Controller;
52+
export default CurrentBehaviorController;

test-e2e/browser/react-app/src/modules/fixtures/FixturesController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { fixturesCollection } from "mocks-server-admin-api-client";
33

44
import FixturesView from "./FixturesView";
55

6-
const Controller = connect(() => ({
6+
const FixturesController = connect(() => ({
77
fixtures: fixturesCollection.read.getters.value
88
}))(FixturesView);
99

10-
export default Controller;
10+
export default FixturesController;

test-e2e/browser/react-app/src/modules/settings/SettingsController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { settings } from "mocks-server-admin-api-client";
33

44
import SettingsView from "./SettingsView";
55

6-
const Controller = connect(() => ({
6+
const SettingsController = connect(() => ({
77
settings: settings.read.getters.value
88
}))(SettingsView);
99

10-
export default Controller;
10+
export default SettingsController;

0 commit comments

Comments
 (0)