File size: 433 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import { setShowDomainUpsellDialog } from '../actions';
import reducer from '../reducer';
describe( 'WpcomPlansUI reducer', () => {
describe( 'showDomainUpsellDialog', () => {
it( 'should set the domain upsell dialog visibility', () => {
const action = setShowDomainUpsellDialog( true );
const state = reducer( undefined, action );
expect( state ).toEqual( {
showDomainUpsellDialog: true,
} );
} );
} );
} );
|