File size: 475 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import getConciergeUserBlocked from 'calypso/state/selectors/get-concierge-user-blocked';
describe( 'getConciergeUserBlocked()', () => {
test( 'should default to null', () => {
expect( getConciergeUserBlocked( {} ) ).toBeNull();
} );
test( "should return the user's blocked status in the state,", () => {
const isUserBlocked = true;
expect(
getConciergeUserBlocked( {
concierge: {
isUserBlocked,
},
} )
).toEqual( isUserBlocked );
} );
} );
|