Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// @ts-ignore
import { HotTableModule } from '@handsontable/angular';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
HotTableModule.forRoot(),
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
it(`should expose information about its version`, () => {
expect(HotTableModule.version).toBeDefined();
expect(HotTableModule.version).toBe(version);
});
});
it(`should expose information about its version`, () => {
expect(HotTableModule.version).toBeDefined();
expect(HotTableModule.version).toBe(version);
});
});
beforeEach((() => {
TestBed.configureTestingModule({
declarations: [ TestComponent ],
imports: [ HotTableModule.forRoot() ],
});
}));
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [ TestComponent ],
imports: [ HotTableModule.forRoot() ],
});
});
beforeEach((() => {
TestBed.configureTestingModule({
imports: [ HotTableModule.forRoot() ],
declarations: [ TestComponent ],
});
}));