1 import {async, ComponentFixture} from "@angular/core/testing";
2 import {ConfigureFn, configureTests} from "../../../../../../jest/test-config.helper";
3 import {NO_ERRORS_SCHEMA} from "@angular/core";
4 import {PaletteElementComponent} from "./palette-element.component";
5 import {ResourceNamePipe} from "../../../../pipes/resource-name.pipe";
7 describe('palette element component', () => {
9 let fixture: ComponentFixture<PaletteElementComponent>;
13 const configure: ConfigureFn = testBed => {
14 testBed.configureTestingModule({
15 declarations: [PaletteElementComponent, ResourceNamePipe],
17 schemas: [NO_ERRORS_SCHEMA]
21 configureTests(configure).then(testBed => {
22 fixture = testBed.createComponent(PaletteElementComponent);
27 it('should match current snapshot of palette element component', () => {
28 expect(fixture).toMatchSnapshot();