Skip to content

Commit

Permalink
Merge pull request #1 from MV88/tentative_fix_test
Browse files Browse the repository at this point in the history
Tentative fix test
  • Loading branch information
mahmoudadel54 authored Nov 6, 2024
2 parents 5e01572 + 60322fa commit fe24abe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ describe('withMediaVisibilityContainer HOC', () => {
ReactDOM.render(
<div
id="scroll-container"
style={{ width: 512, height: 512, overflow: 'scroll' }}>
<div style={{ height: 1024 }}></div>
style={{ width: 10, height: 10, overflow: 'scroll' }}>
<div style={{ height: 20 }}></div>
<Media mediaViewer={withMediaVisibilityContainer(() => <div className="test-component"></div>)} debounceTime={DEBOUNCE_TIME}/>
</div>,
document.getElementById("container"));
Expand All @@ -89,7 +89,7 @@ describe('withMediaVisibilityContainer HOC', () => {
done(e);
}
done();
}, 50);
}, 100);
} catch (e) {
done(e);
}
Expand Down
2 changes: 1 addition & 1 deletion web/client/reducers/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function layers(state = { flat: [] }, action) {
case REPLACE_LAYERS: {
return {
...state,
layers: action.layers
flat: action.layers
};
}
case UPDATE_NODE: {
Expand Down

0 comments on commit fe24abe

Please sign in to comment.