@@ -13,14 +13,22 @@ describe("<Container />", () => {
1313 expect ( result ) . toMatchSnapshot ( ) ;
1414 } ) ;
1515
16- it ( "should match the snapshot (fluid property set to true) " , ( ) => {
16+ it ( "should match the snapshot (fluid property set to true)" , ( ) => {
1717 // act
1818 const result = shallow ( < Container fluid /> ) ;
1919
2020 // assert
2121 expect ( result ) . toMatchSnapshot ( ) ;
2222 } ) ;
2323
24+ it ( "should match the snapshot (fullscreen property set to true)" , ( ) => {
25+ // act
26+ const result = shallow ( < Container fullscreen /> ) ;
27+
28+ // assert
29+ expect ( result ) . toMatchSnapshot ( ) ;
30+ } ) ;
31+
2432 it ( "should match the snapshot (width property set to { xs: 100, sm: 200, md: 300 })" , ( ) => {
2533 // act
2634 const result = shallow ( < Container width = { { xs : 100 , sm : 200 , md : 300 } } /> ) ;
@@ -32,7 +40,17 @@ describe("<Container />", () => {
3240 it ( "should match the snapshot (ignores width when fluid is set)" , ( ) => {
3341 // act
3442 const result = shallow (
35- < Container fluid = { true } width = { { xs : 100 , sm : 200 , md : 300 } } />
43+ < Container fluid width = { { xs : 100 , sm : 200 , md : 300 } } />
44+ ) ;
45+
46+ // assert
47+ expect ( result ) . toMatchSnapshot ( ) ;
48+ } ) ;
49+
50+ it ( "should match the snapshot (ignores fluid and width when fullscreen is set)" , ( ) => {
51+ // act
52+ const result = shallow (
53+ < Container fluid fullscreen width = { { xs : 100 , sm : 200 , md : 300 } } />
3654 ) ;
3755
3856 // assert
0 commit comments