Skip to content

Commit

Permalink
Fixes an issue with tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed Dec 23, 2019
1 parent 6c23f61 commit 68368c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/Midi/LiveData/lightingIntensity.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const LightingIntensity = ({simulatorId, value, setValue}) => {
valueSet.current = true;
setTimeout(() => {
valueSet.current = false;
}, 1000 / 30);
}, 1000 / 10);
setValue(intensity);
}, [intensity, setValue]);

Expand Down
10 changes: 10 additions & 0 deletions src/mocks/data/clients.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export default [
description: null,
__typename: "Station",
},
currentCard: {
name: "Test",
component: "TestCard",
__typename: "Card",
},
__typename: "Client",
},
{
Expand All @@ -39,6 +44,11 @@ export default [
description: "",
__typename: "Station",
},
currentCard: {
name: "Test",
component: "TestCard",
__typename: "Card",
},
__typename: "Client",
},
];

0 comments on commit 68368c9

Please sign in to comment.