File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/unit/components/TutorialsOverview Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ describe('Chapter', () => {
78
78
it ( 'renders an `.name` with dynamic heading tag and the name/number' , ( ) => {
79
79
const name = wrapper . findComponent ( '.name' ) ;
80
80
expect ( name . exists ( ) ) . toBe ( true ) ;
81
- expect ( name . is ( 'H3 ' ) ) . toBe ( true ) ;
81
+ expect ( name . is ( 'h3 ' ) ) . toBe ( true ) ;
82
82
expect ( name . text ( ) ) . toMatch ( / t u t o r i a l s \. s e c t i o n s \. c h a p t e r / ) ;
83
83
expect ( name . attributes ( 'aria-label' ) ) . toEqual ( 'Foo - tutorials.sections.chapter' ) ;
84
84
@@ -91,7 +91,7 @@ describe('Chapter', () => {
91
91
it ( 'renders the `.name` with H2 if volume has no name' , async ( ) => {
92
92
await wrapper . setProps ( { volumeHasName : false } ) ;
93
93
const name = wrapper . findComponent ( '.name' ) ;
94
- expect ( name . is ( 'H2 ' ) ) . toBe ( true ) ;
94
+ expect ( name . is ( 'h2 ' ) ) . toBe ( true ) ;
95
95
} ) ;
96
96
97
97
it ( 'renders a `ContentNode`' , ( ) => {
You can’t perform that action at this time.
0 commit comments