File size: 515 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import { isSiteDescriptionBlocked } from '../';
describe( 'isSiteDescriptionBlocked', () => {
test( 'should return true if a site description is blocked', () => {
const blockedDescription = 'Just another WordPress site';
expect( isSiteDescriptionBlocked( blockedDescription ) ).toBeTrue;
} );
test( 'should return false if a site description is not blocked', () => {
const unblockedDescription = 'My site is marvellous';
expect( isSiteDescriptionBlocked( unblockedDescription ) ).toBeFalse;
} );
} );
|