text: import checkboxModule from './checkbox.module';
  import CheckboxController from './checkbox.controller';
  import checkboxComponent from './checkbox.component';
  import checkboxTemplate from './checkbox.html';
  
  describe('Checkbox', () => {
    let $rootScope, makeController; // eslint-disable-line no-unused-vars
  
    beforeEach(window.module(checkboxModule.name));
    beforeEach(inject((_$rootScope_) => {
      $rootScope = _$rootScope_;
      makeController = () => {
        return new CheckboxController();
      };
    }));
  
    describe('Module', () => {
      // top-level specs: i.e., routes, injection, naming
    });
  
    describe('Controller', () => {
      // controller specs
      it('has a label property [REMOVE]', () => { // erase if removing this.label from the controller
        let controller = makeController();
        expect(controller).to.have.property('label');
      });
    });
  
    describe('Template', () => {
      // template specs
      // tip: use regex to ensure correct bindings are used e.g., {{  }}
      it('has label in template [REMOVE]', () => {
        expect(checkboxTemplate).to.match(/{{\s?::\s?vm\.label\s?}}/g);
      });
    });
  
    describe('Component', () => {
        // component/directive specs
      let component = checkboxComponent();
  
      it('includes the intended template', () => {
        expect(component.template).to.equal(checkboxTemplate);
      });
  
      it('uses `controllerAs` syntax', () => {
        expect(component).to.have.property('controllerAs');
      });
  
      it('invokes the right controller', () => {
        expect(component.controller).to.equal(CheckboxController);
      });
    });
  });
  