"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const testing_1 = require("@angular/core/testing");
const ngx_cropper_component_1 = require("./ngx-cropper.component");
const platform_browser_1 = require("@angular/platform-browser");
const chai_1 = require("chai");
window['describe']('ngx-cropper Test', () => {
    window['beforeEach'](() => {
        testing_1.TestBed.configureTestingModule({
            declarations: [ngx_cropper_component_1.NgxCropperComponent]
        });
    });
    window['afterEach'](() => {
        testing_1.getTestBed().resetTestingModule();
    });
    window['it']('should display', () => {
        const fixture = testing_1.TestBed.createComponent(ngx_cropper_component_1.NgxCropperComponent);
        fixture.detectChanges();
        fixture.componentInstance.isShow = true;
        const h3 = fixture.debugElement.query(platform_browser_1.By.css('h3'));
        chai_1.expect(h3.nativeElement.textContent).to.equal('Apply your image size and position');
    });
});
//# sourceMappingURL=ngx-cropper.component.spec.js.map