Skip to content

Commit

Permalink
Fix animation dependencies for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed Jul 15, 2024
1 parent d25f767 commit c395b64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { ResourceSelectComponent } from './resource-select.component';


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

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ResourceSelectComponent]
imports: [ResourceSelectComponent, NoopAnimationsModule]
})
.compileComponents();

fixture = TestBed.createComponent(ResourceSelectComponent);
component = fixture.componentInstance;
fixture.detectChanges();
Expand Down
4 changes: 0 additions & 4 deletions firebird-ng/src/lib-root-geometry/root-geo-edit.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ import {
EditActions,
} from './root-geo-edit'; // Update with the actual path

import * as RootGeoNavigation from './root-geo-navigation';
import * as RootGeoEdit from './root-geo-edit'

import * as GeoAttBitsModule from "./root-geo-attribute-bits";
import {GeoAttBits, testGeoBit, toggleGeoBit} from "./root-geo-attribute-bits";

describe('editGeoNodes', () => {
Expand Down

0 comments on commit c395b64

Please sign in to comment.