/*
 * Copyright (C) 2018 Robert Bosch GmbH Copyright (C) 2018 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.
 */

import { CommonModule } from '@angular/common';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { MatSelectModule } from '@angular/material/select';
import { MatSliderModule } from '@angular/material/slider';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { BciSharedModule } from '@bci-web-core/core';
import { GenericMapsModule } from '@bci-web-core/maps';
import { LightDarkThemeComponent } from './light-dark-theme.component';

describe('LightDarkThemeComponent', () => {
  let component: LightDarkThemeComponent;
  let fixture: ComponentFixture<LightDarkThemeComponent>;

  beforeEach(
    waitForAsync(() => {
      TestBed.configureTestingModule({
        imports: [
          CommonModule,
          NoopAnimationsModule,
          GenericMapsModule,
          BciSharedModule,
          /* Angular Material */
          MatSliderModule,
          MatSelectModule,
        ],
        declarations: [LightDarkThemeComponent],
      }).compileComponents();
    })
  );

  beforeEach(() => {
    fixture = TestBed.createComponent(LightDarkThemeComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
