File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ describe('<CardHeader />', () => {
59
59
it ( 'should render the title as headline text' , ( ) => {
60
60
const title = wrapper . childAt ( 0 ) ;
61
61
assert . strictEqual ( title . type ( ) , Typography ) ;
62
- assert . strictEqual ( title . props ( ) . variant , 'headline ' ) ;
62
+ assert . strictEqual ( title . props ( ) . variant , 'h5 ' ) ;
63
63
} ) ;
64
64
65
65
it ( 'should render the subheader as body1 secondary text' , ( ) => {
Original file line number Diff line number Diff line change @@ -47,17 +47,16 @@ describe('createTypography', () => {
47
47
it ( 'should apply a CSS property to all the variants' , ( ) => {
48
48
const typography = createTypography ( palette , { allVariants : { marginLeft : 0 } } ) ;
49
49
const allVariants = [
50
- 'display4 ' ,
51
- 'display3 ' ,
52
- 'display2 ' ,
53
- 'display1 ' ,
54
- 'headline ' ,
55
- 'title ' ,
56
- 'subheading ' ,
57
- 'body2 ' ,
50
+ 'h1 ' ,
51
+ 'h2 ' ,
52
+ 'h3 ' ,
53
+ 'h4 ' ,
54
+ 'h5 ' ,
55
+ 'h6 ' ,
56
+ 'subtitle1 ' ,
57
+ 'subtitle2 ' ,
58
58
'body1' ,
59
- 'caption' ,
60
- 'button' ,
59
+ 'body2' ,
61
60
] ;
62
61
63
62
allVariants . forEach ( variant => {
You can’t perform that action at this time.
0 commit comments