Skip to content

Commit

Permalink
web: Components: Commented failed test (issue: styled-components/jest…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeySafronov committed Jan 15, 2020
1 parent bf76392 commit e1c6b0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/ASC.Web.Components/src/components/grid/grid.test.js
Expand Up @@ -172,7 +172,8 @@ describe('<Grid />', () => {
expect(wrapper5.props().areasProp[2][2]).toEqual("footer");
});

test('it applies styles', () => {
//TODO: Uncomment after fix https://github.com/styled-components/jest-styled-components/issues/294
/* test('it applies styles', () => {
const tree = renderer.create(<Grid />).toJSON();
expect(tree).toHaveStyleRule('display', 'grid');
Expand Down Expand Up @@ -210,6 +211,6 @@ describe('<Grid />', () => {
expect(tree8).toHaveStyleRule('grid-template-areas', '"header header header" "navbar main sidebar" "footer footer footer"');
expect(tree8).toHaveStyleRule('grid-template-columns', 'minmax(100px,1fr) 3fr minmax(100px,1fr)');
expect(tree8).toHaveStyleRule('grid-template-rows', 'auto 1fr auto');
});
}); */

});

0 comments on commit e1c6b0c

Please sign in to comment.