You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
963 B
TypeScript
36 lines
963 B
TypeScript
2 years ago
|
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||
|
import { SharedModule } from '../../../../shared.module';
|
||
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||
|
import { SwapPeersComponent } from './swap-peers.component';
|
||
|
|
||
|
describe('SwapPeersComponent', () => {
|
||
|
let component: SwapPeersComponent;
|
||
|
let fixture: ComponentFixture<SwapPeersComponent>;
|
||
|
|
||
|
beforeEach(waitForAsync(() => {
|
||
|
TestBed.configureTestingModule({
|
||
|
declarations: [SwapPeersComponent],
|
||
|
imports: [
|
||
|
BrowserAnimationsModule,
|
||
|
SharedModule
|
||
|
],
|
||
|
providers: []
|
||
|
}).
|
||
|
compileComponents();
|
||
|
}));
|
||
|
|
||
|
beforeEach(() => {
|
||
|
fixture = TestBed.createComponent(SwapPeersComponent);
|
||
|
component = fixture.componentInstance;
|
||
|
fixture.detectChanges();
|
||
|
});
|
||
|
|
||
|
it('should create', () => {
|
||
|
expect(component).toBeTruthy();
|
||
|
});
|
||
|
|
||
|
afterEach(() => {
|
||
|
TestBed.resetTestingModule();
|
||
|
});
|
||
|
});
|