<commit_before>import { renderComponent , expect } from '../testHelper';
import AppHeader from '../../src/components/appHeader';

describe('AppHeader' , () => {
  let component;

  beforeEach(() => {
    component = renderComponent(AppHeader);
  });

  it('is rendered successfully', () => {
    expect(component).to.exist;
  });

  it('should have the title of "Icebox"', () => {
  	expect(component).to.contain('Icebox');
  });

  describe('AppHeader interactivity', () => {
  	xit('should show the side drawer when the MenuIconButton is clicked', () => {

  	});

  	describe('when no user signed in', () => {
  		beforeEach(() => {
  			component = renderComponent(AppHeader, null, { auth: false });
  		});

  		it('should have a signup button', () => {

  		});

  		it('should have a signin button', () => {
  			
  		});
  	});

  	describe('when a user is signed in', () => {
  		beforeEach(() => {
  			component = renderComponent(AppHeader, null, { auth: true });
  		});

  		it('should have a signup button', () => {

  		});

  		it('should have a signin button', () => {
  			
  		});
  	});
  });
  
});
<commit_msg>[pull] builds out AppHeader interactivity tests<commit_after>import { renderComponent , expect } from '../testHelper';
import AppHeader from '../../src/components/appHeader';

describe('AppHeader' , () => {
  let component;

  beforeEach(() => {
    component = renderComponent(AppHeader);
  });

  it('is rendered successfully', () => {
    expect(component).to.exist;
  });

  it('should have the title of "Icebox"', () => {
  	expect(component).to.contain('Icebox');
  });

  describe('AppHeader interactivity', () => {
  	xit('should show the side drawer when the MenuIconButton is clicked', () => {

  	});

  	describe('when no user signed in', () => {
  		beforeEach(() => {
  			component = renderComponent(AppHeader, null, { auth: false });
  		});

  		it('should have a signup button', () => {
  			expect(component.find('.signup-button')).to.exist;
  		});

  		it('should have a signin button', () => {
  			expect(component.find('.signin-button')).to.exist;
  		});
  	});

  	describe('when a user is signed in', () => {
  		beforeEach(() => {
  			component = renderComponent(AppHeader, null, { auth: true });
  		});

  		it('should have a help button', () => {
  			expect(component.find('.help-button')).to.exist;
  		});

  		it('should have a signout button', () => {
  			expect(component.find('.signout-button')).to.exist;
  		});
  	});
  });
  
});

{'fraction_non_alphanumeric': 0.19632881085395051, 'fraction_numerical': 0.0, 'mean_word_length': 3.0176282051282053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2954826', 'n_tokens_mistral': 856, 'n_tokens_neox': 814, 'n_words': 171}