@@ -37,19 +37,6 @@ describe('nav', () => {
3737 expect ( wrapper . text ( ) ) . toBe ( 'foobar' )
3838 } )
3939
40- it ( 'supports "is-navbar-nav" mode' , async ( ) => {
41- const wrapper = mount ( BNav , {
42- propsData : {
43- isNavBar : true
44- }
45- } )
46-
47- expect ( wrapper . is ( 'ul' ) ) . toBe ( true )
48- expect ( wrapper . classes ( ) ) . toContain ( 'navbar-nav' )
49- expect ( wrapper . classes ( ) . length ) . toBe ( 1 )
50- expect ( wrapper . text ( ) ) . toBe ( '' )
51- } )
52-
5340 it ( 'applies pill style' , async ( ) => {
5441 const wrapper = mount ( BNav , {
5542 propsData : {
@@ -64,20 +51,6 @@ describe('nav', () => {
6451 expect ( wrapper . text ( ) ) . toBe ( '' )
6552 } )
6653
67- it ( "doesn't apply pill style when in 'is-navbar-nav' mode" , async ( ) => {
68- const wrapper = mount ( BNav , {
69- propsData : {
70- pills : true ,
71- isNavBar : true
72- }
73- } )
74-
75- expect ( wrapper . is ( 'ul' ) ) . toBe ( true )
76- expect ( wrapper . classes ( ) ) . toContain ( 'navbar-nav' )
77- expect ( wrapper . classes ( ) . length ) . toBe ( 1 )
78- expect ( wrapper . text ( ) ) . toBe ( '' )
79- } )
80-
8154 it ( 'applies tab style' , async ( ) => {
8255 const wrapper = mount ( BNav , {
8356 propsData : {
@@ -92,20 +65,6 @@ describe('nav', () => {
9265 expect ( wrapper . text ( ) ) . toBe ( '' )
9366 } )
9467
95- it ( "doesn't apply tab style when in 'is-navbar-nav' mode" , async ( ) => {
96- const wrapper = mount ( BNav , {
97- propsData : {
98- tabs : true ,
99- isNavBar : true
100- }
101- } )
102-
103- expect ( wrapper . is ( 'ul' ) ) . toBe ( true )
104- expect ( wrapper . classes ( ) ) . toContain ( 'navbar-nav' )
105- expect ( wrapper . classes ( ) . length ) . toBe ( 1 )
106- expect ( wrapper . text ( ) ) . toBe ( '' )
107- } )
108-
10968 it ( 'applies vertical style' , async ( ) => {
11069 const wrapper = mount ( BNav , {
11170 propsData : {
@@ -120,20 +79,6 @@ describe('nav', () => {
12079 expect ( wrapper . text ( ) ) . toBe ( '' )
12180 } )
12281
123- it ( "doesn't apply vertical style when in 'is-navbar-nav' mode" , async ( ) => {
124- const wrapper = mount ( BNav , {
125- propsData : {
126- vertical : true ,
127- isNavBar : true
128- }
129- } )
130-
131- expect ( wrapper . is ( 'ul' ) ) . toBe ( true )
132- expect ( wrapper . classes ( ) ) . toContain ( 'navbar-nav' )
133- expect ( wrapper . classes ( ) . length ) . toBe ( 1 )
134- expect ( wrapper . text ( ) ) . toBe ( '' )
135- } )
136-
13782 it ( 'applies justify style when justified' , async ( ) => {
13883 const wrapper = mount ( BNav , {
13984 propsData : {
0 commit comments