mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-15 18:13:00 +00:00
Cln core lightning rename (#1000)
CLightning to Code Lightning #997 Document update for CLN CLN image updates CLN Testcase updates
This commit is contained in:
parent
56383277ac
commit
800f4e9e62
@ -5,7 +5,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
|
||||
@ -15,18 +15,18 @@ import { mockDataService, mockLoggerService } from '../../shared/test-helpers/mo
|
||||
import { CommonService } from '../../shared/services/common.service';
|
||||
import { DataService } from '../../shared/services/data.service';
|
||||
|
||||
describe('CLGraphComponent', () => {
|
||||
let component: CLGraphComponent;
|
||||
let fixture: ComponentFixture<CLGraphComponent>;
|
||||
describe('CLNGraphComponent', () => {
|
||||
let component: CLNGraphComponent;
|
||||
let fixture: ComponentFixture<CLNGraphComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLGraphComponent],
|
||||
declarations: [CLNGraphComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -38,7 +38,7 @@ describe('CLGraphComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLGraphComponent);
|
||||
fixture = TestBed.createComponent(CLNGraphComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,27 +4,27 @@ import { SharedModule } from '../../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CLNChannelLookupComponent } from './channel-lookup.component';
|
||||
|
||||
describe('CLChannelLookupComponent', () => {
|
||||
let component: CLChannelLookupComponent;
|
||||
let fixture: ComponentFixture<CLChannelLookupComponent>;
|
||||
describe('CLNChannelLookupComponent', () => {
|
||||
let component: CLNChannelLookupComponent;
|
||||
let fixture: ComponentFixture<CLNChannelLookupComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelLookupComponent],
|
||||
declarations: [CLNChannelLookupComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelLookupComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelLookupComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -5,7 +5,7 @@ import { LoggerService } from '../../../shared/services/logger.service';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CLNLookupsComponent } from './lookups.component';
|
||||
import { SharedModule } from '../../../shared/shared.module';
|
||||
@ -16,17 +16,17 @@ import { EffectsModule } from '@ngrx/effects';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLLookupsComponent', () => {
|
||||
let component: CLLookupsComponent;
|
||||
let fixture: ComponentFixture<CLLookupsComponent>;
|
||||
describe('CLNLookupsComponent', () => {
|
||||
let component: CLNLookupsComponent;
|
||||
let fixture: ComponentFixture<CLNLookupsComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLLookupsComponent, CLNodeLookupComponent, CLChannelLookupComponent],
|
||||
declarations: [CLNLookupsComponent, CLNNodeLookupComponent, CLNChannelLookupComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -39,7 +39,7 @@ describe('CLLookupsComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLLookupsComponent);
|
||||
fixture = TestBed.createComponent(CLNLookupsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -5,13 +5,13 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
import { CLNNodeLookupComponent } from './node-lookup.component';
|
||||
|
||||
describe('CLNodeLookupComponent', () => {
|
||||
let component: CLNodeLookupComponent;
|
||||
let fixture: ComponentFixture<CLNodeLookupComponent>;
|
||||
describe('CLNNodeLookupComponent', () => {
|
||||
let component: CLNNodeLookupComponent;
|
||||
let fixture: ComponentFixture<CLNNodeLookupComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLNodeLookupComponent],
|
||||
declarations: [CLNNodeLookupComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
BrowserAnimationsModule
|
||||
@ -22,7 +22,7 @@ describe('CLNodeLookupComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLNodeLookupComponent);
|
||||
fixture = TestBed.createComponent(CLNNodeLookupComponent);
|
||||
component = fixture.componentInstance;
|
||||
component.lookupResult = {};
|
||||
fixture.detectChanges();
|
||||
|
@ -15,17 +15,17 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLQueryRoutesComponent', () => {
|
||||
let component: CLQueryRoutesComponent;
|
||||
let fixture: ComponentFixture<CLQueryRoutesComponent>;
|
||||
describe('CLNQueryRoutesComponent', () => {
|
||||
let component: CLNQueryRoutesComponent;
|
||||
let fixture: ComponentFixture<CLNQueryRoutesComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLQueryRoutesComponent],
|
||||
declarations: [CLNQueryRoutesComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -38,7 +38,7 @@ describe('CLQueryRoutesComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLQueryRoutesComponent);
|
||||
fixture = TestBed.createComponent(CLNQueryRoutesComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,20 +3,20 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { CLNBalancesInfoComponent } from './balances-info.component';
|
||||
|
||||
describe('CLBalancesInfoComponent', () => {
|
||||
let component: CLBalancesInfoComponent;
|
||||
let fixture: ComponentFixture<CLBalancesInfoComponent>;
|
||||
describe('CLNBalancesInfoComponent', () => {
|
||||
let component: CLNBalancesInfoComponent;
|
||||
let fixture: ComponentFixture<CLNBalancesInfoComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLBalancesInfoComponent],
|
||||
declarations: [CLNBalancesInfoComponent],
|
||||
imports: [SharedModule]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLBalancesInfoComponent);
|
||||
fixture = TestBed.createComponent(CLNBalancesInfoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,20 +4,20 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { CLNChannelCapacityInfoComponent } from './channel-capacity-info.component';
|
||||
|
||||
describe('CLChannelCapacityInfoComponent', () => {
|
||||
let component: CLChannelCapacityInfoComponent;
|
||||
let fixture: ComponentFixture<CLChannelCapacityInfoComponent>;
|
||||
describe('CLNChannelCapacityInfoComponent', () => {
|
||||
let component: CLNChannelCapacityInfoComponent;
|
||||
let fixture: ComponentFixture<CLNChannelCapacityInfoComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelCapacityInfoComponent],
|
||||
declarations: [CLNChannelCapacityInfoComponent],
|
||||
imports: [SharedModule, RouterTestingModule]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelCapacityInfoComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelCapacityInfoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -8,13 +8,13 @@ import { mockDataService } from '../../../shared/test-helpers/mock-services';
|
||||
import { CLNChannelLiquidityInfoComponent } from './channel-liquidity-info.component';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLChannelLiquidityInfoComponent', () => {
|
||||
let component: CLChannelLiquidityInfoComponent;
|
||||
let fixture: ComponentFixture<CLChannelLiquidityInfoComponent>;
|
||||
describe('CLNChannelLiquidityInfoComponent', () => {
|
||||
let component: CLNChannelLiquidityInfoComponent;
|
||||
let fixture: ComponentFixture<CLNChannelLiquidityInfoComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelLiquidityInfoComponent],
|
||||
declarations: [CLNChannelLiquidityInfoComponent],
|
||||
imports: [SharedModule, RouterTestingModule],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -25,7 +25,7 @@ describe('CLChannelLiquidityInfoComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelLiquidityInfoComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelLiquidityInfoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,20 +3,20 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { CLNChannelStatusInfoComponent } from './channel-status-info.component';
|
||||
|
||||
describe('CLChannelStatusInfoComponent', () => {
|
||||
let component: CLChannelStatusInfoComponent;
|
||||
let fixture: ComponentFixture<CLChannelStatusInfoComponent>;
|
||||
describe('CLNChannelStatusInfoComponent', () => {
|
||||
let component: CLNChannelStatusInfoComponent;
|
||||
let fixture: ComponentFixture<CLNChannelStatusInfoComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelStatusInfoComponent],
|
||||
declarations: [CLNChannelStatusInfoComponent],
|
||||
imports: [SharedModule]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelStatusInfoComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelStatusInfoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,20 +3,20 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { CLNFeeInfoComponent } from './fee-info.component';
|
||||
|
||||
describe('CLFeeInfoComponent', () => {
|
||||
let component: CLFeeInfoComponent;
|
||||
let fixture: ComponentFixture<CLFeeInfoComponent>;
|
||||
describe('CLNFeeInfoComponent', () => {
|
||||
let component: CLNFeeInfoComponent;
|
||||
let fixture: ComponentFixture<CLNFeeInfoComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLFeeInfoComponent],
|
||||
declarations: [CLNFeeInfoComponent],
|
||||
imports: [SharedModule]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLFeeInfoComponent);
|
||||
fixture = TestBed.createComponent(CLNFeeInfoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -10,7 +10,7 @@ import { mockCLEffects, mockDataService, mockLoggerService, mockECLEffects, mock
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { CLNHomeComponent } from './home.component';
|
||||
import { CLNNodeInfoComponent } from './node-info/node-info.component';
|
||||
@ -20,17 +20,17 @@ import { CLNChannelStatusInfoComponent } from './channel-status-info/channel-sta
|
||||
import { CLNFeeInfoComponent } from './fee-info/fee-info.component';
|
||||
import { DataService } from '../../shared/services/data.service';
|
||||
|
||||
describe('CLHomeComponent', () => {
|
||||
let component: CLHomeComponent;
|
||||
let fixture: ComponentFixture<CLHomeComponent>;
|
||||
describe('CLNHomeComponent', () => {
|
||||
let component: CLNHomeComponent;
|
||||
let fixture: ComponentFixture<CLNHomeComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLHomeComponent, CLNodeInfoComponent, CLBalancesInfoComponent, CLChannelCapacityInfoComponent, CLChannelStatusInfoComponent, CLFeeInfoComponent],
|
||||
declarations: [CLNHomeComponent, CLNNodeInfoComponent, CLNBalancesInfoComponent, CLNChannelCapacityInfoComponent, CLNChannelStatusInfoComponent, CLNFeeInfoComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -43,7 +43,7 @@ describe('CLHomeComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLHomeComponent);
|
||||
fixture = TestBed.createComponent(CLNHomeComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -8,14 +8,14 @@ import { mockDataService, mockLoggerService } from '../../../shared/test-helpers
|
||||
|
||||
import { CLNNodeInfoComponent } from './node-info.component';
|
||||
|
||||
describe('CLNodeInfoComponent', () => {
|
||||
let component: CLNodeInfoComponent;
|
||||
let fixture: ComponentFixture<CLNodeInfoComponent>;
|
||||
describe('CLNNodeInfoComponent', () => {
|
||||
let component: CLNNodeInfoComponent;
|
||||
let fixture: ComponentFixture<CLNNodeInfoComponent>;
|
||||
let commonService: CommonService;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLNodeInfoComponent],
|
||||
declarations: [CLNNodeInfoComponent],
|
||||
imports: [SharedModule],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -27,7 +27,7 @@ describe('CLNodeInfoComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLNodeInfoComponent);
|
||||
fixture = TestBed.createComponent(CLNNodeInfoComponent);
|
||||
commonService = TestBed.inject(CommonService);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
|
@ -2,19 +2,19 @@ import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CLNFeeRatesComponent } from './fee-rates.component';
|
||||
|
||||
describe('CLFeeRatesComponent', () => {
|
||||
let component: CLFeeRatesComponent;
|
||||
let fixture: ComponentFixture<CLFeeRatesComponent>;
|
||||
describe('CLNFeeRatesComponent', () => {
|
||||
let component: CLNFeeRatesComponent;
|
||||
let fixture: ComponentFixture<CLNFeeRatesComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLFeeRatesComponent]
|
||||
declarations: [CLNFeeRatesComponent]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLFeeRatesComponent);
|
||||
fixture = TestBed.createComponent(CLNFeeRatesComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -8,22 +8,22 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { CLNFeeRatesComponent } from './fee-rates/fee-rates.component';
|
||||
import { CLNOnChainFeeEstimatesComponent } from './on-chain-fee-estimates/on-chain-fee-estimates.component';
|
||||
import { CLNNetworkInfoComponent } from './network-info.component';
|
||||
|
||||
describe('CLNetworkInfoComponent', () => {
|
||||
let component: CLNetworkInfoComponent;
|
||||
let fixture: ComponentFixture<CLNetworkInfoComponent>;
|
||||
describe('CLNNetworkInfoComponent', () => {
|
||||
let component: CLNNetworkInfoComponent;
|
||||
let fixture: ComponentFixture<CLNNetworkInfoComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLNetworkInfoComponent, CLFeeRatesComponent, CLOnChainFeeEstimatesComponent],
|
||||
declarations: [CLNNetworkInfoComponent, CLNFeeRatesComponent, CLNOnChainFeeEstimatesComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -35,7 +35,7 @@ describe('CLNetworkInfoComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLNetworkInfoComponent);
|
||||
fixture = TestBed.createComponent(CLNNetworkInfoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -2,19 +2,19 @@ import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CLNOnChainFeeEstimatesComponent } from './on-chain-fee-estimates.component';
|
||||
|
||||
describe('CLOnChainFeeEstimatesComponent', () => {
|
||||
let component: CLOnChainFeeEstimatesComponent;
|
||||
let fixture: ComponentFixture<CLOnChainFeeEstimatesComponent>;
|
||||
describe('CLNOnChainFeeEstimatesComponent', () => {
|
||||
let component: CLNOnChainFeeEstimatesComponent;
|
||||
let fixture: ComponentFixture<CLNOnChainFeeEstimatesComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOnChainFeeEstimatesComponent]
|
||||
declarations: [CLNOnChainFeeEstimatesComponent]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOnChainFeeEstimatesComponent);
|
||||
fixture = TestBed.createComponent(CLNOnChainFeeEstimatesComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -7,22 +7,22 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CLNEffects } from '../../store/cl.effects';
|
||||
import { CLNEffects } from '../../store/cln.effects';
|
||||
import { CLNOnChainReceiveComponent } from './on-chain-receive.component';
|
||||
|
||||
describe('CLOnChainReceiveComponent', () => {
|
||||
let component: CLOnChainReceiveComponent;
|
||||
let fixture: ComponentFixture<CLOnChainReceiveComponent>;
|
||||
describe('CLNOnChainReceiveComponent', () => {
|
||||
let component: CLNOnChainReceiveComponent;
|
||||
let fixture: ComponentFixture<CLNOnChainReceiveComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOnChainReceiveComponent],
|
||||
declarations: [CLNOnChainReceiveComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -33,7 +33,7 @@ describe('CLOnChainReceiveComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOnChainReceiveComponent);
|
||||
fixture = TestBed.createComponent(CLNOnChainReceiveComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -5,7 +5,7 @@ import { EffectsModule } from '@ngrx/effects';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -17,17 +17,17 @@ import { RTLEffects } from '../../../store/rtl.effects';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLOnChainSendModalComponent', () => {
|
||||
let component: CLOnChainSendModalComponent;
|
||||
let fixture: ComponentFixture<CLOnChainSendModalComponent>;
|
||||
describe('CLNOnChainSendModalComponent', () => {
|
||||
let component: CLNOnChainSendModalComponent;
|
||||
let fixture: ComponentFixture<CLNOnChainSendModalComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOnChainSendModalComponent],
|
||||
declarations: [CLNOnChainSendModalComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -43,7 +43,7 @@ describe('CLOnChainSendModalComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOnChainSendModalComponent);
|
||||
fixture = TestBed.createComponent(CLNOnChainSendModalComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -5,28 +5,28 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CLNOnChainSendComponent } from './on-chain-send.component';
|
||||
|
||||
describe('CLOnChainSendComponent', () => {
|
||||
let component: CLOnChainSendComponent;
|
||||
let fixture: ComponentFixture<CLOnChainSendComponent>;
|
||||
describe('CLNOnChainSendComponent', () => {
|
||||
let component: CLNOnChainSendComponent;
|
||||
let fixture: ComponentFixture<CLNOnChainSendComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOnChainSendComponent],
|
||||
declarations: [CLNOnChainSendComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOnChainSendComponent);
|
||||
fixture = TestBed.createComponent(CLNOnChainSendComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -5,7 +5,7 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { CLNOnChainComponent } from './on-chain.component';
|
||||
import { CLNOnChainUtxosComponent } from './utxo-tables/utxos/utxos.component';
|
||||
@ -18,18 +18,18 @@ import { CLNUTXOTablesComponent } from './utxo-tables/utxo-tables.component';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../shared/services/data.service';
|
||||
|
||||
describe('CLOnChainComponent', () => {
|
||||
let component: CLOnChainComponent;
|
||||
let fixture: ComponentFixture<CLOnChainComponent>;
|
||||
describe('CLNOnChainComponent', () => {
|
||||
let component: CLNOnChainComponent;
|
||||
let fixture: ComponentFixture<CLNOnChainComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOnChainComponent, CurrencyUnitConverterComponent, CLUTXOTablesComponent, CLOnChainUtxosComponent, CLOnChainSendComponent, CLOnChainReceiveComponent],
|
||||
declarations: [CLNOnChainComponent, CurrencyUnitConverterComponent, CLNUTXOTablesComponent, CLNOnChainUtxosComponent, CLNOnChainSendComponent, CLNOnChainReceiveComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -40,7 +40,7 @@ describe('CLOnChainComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOnChainComponent);
|
||||
fixture = TestBed.createComponent(CLNOnChainComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -9,22 +9,22 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CLNUTXOTablesComponent } from './utxo-tables.component';
|
||||
import { CLNOnChainUtxosComponent } from './utxos/utxos.component';
|
||||
|
||||
describe('CLUTXOTablesComponent', () => {
|
||||
let component: CLUTXOTablesComponent;
|
||||
let fixture: ComponentFixture<CLUTXOTablesComponent>;
|
||||
describe('CLNUTXOTablesComponent', () => {
|
||||
let component: CLNUTXOTablesComponent;
|
||||
let fixture: ComponentFixture<CLNUTXOTablesComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLUTXOTablesComponent, CLOnChainUtxosComponent],
|
||||
declarations: [CLNUTXOTablesComponent, CLNOnChainUtxosComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -36,7 +36,7 @@ describe('CLUTXOTablesComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLUTXOTablesComponent);
|
||||
fixture = TestBed.createComponent(CLNUTXOTablesComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -9,21 +9,21 @@ import { SharedModule } from '../../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CLNOnChainUtxosComponent } from './utxos.component';
|
||||
|
||||
describe('CLOnChainUtxosComponent', () => {
|
||||
let component: CLOnChainUtxosComponent;
|
||||
let fixture: ComponentFixture<CLOnChainUtxosComponent>;
|
||||
describe('CLNOnChainUtxosComponent', () => {
|
||||
let component: CLNOnChainUtxosComponent;
|
||||
let fixture: ComponentFixture<CLNOnChainUtxosComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOnChainUtxosComponent],
|
||||
declarations: [CLNOnChainUtxosComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -35,7 +35,7 @@ describe('CLOnChainUtxosComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOnChainUtxosComponent);
|
||||
fixture = TestBed.createComponent(CLNOnChainUtxosComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -10,21 +10,21 @@ import { mockCLEffects, mockDataService, mockECLEffects, mockLNDEffects, mockLog
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CLNBumpFeeComponent } from './bump-fee.component';
|
||||
|
||||
describe('CLBumpFeeComponent', () => {
|
||||
let component: CLBumpFeeComponent;
|
||||
let fixture: ComponentFixture<CLBumpFeeComponent>;
|
||||
describe('CLNBumpFeeComponent', () => {
|
||||
let component: CLNBumpFeeComponent;
|
||||
let fixture: ComponentFixture<CLNBumpFeeComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [CLBumpFeeComponent],
|
||||
declarations: [CLNBumpFeeComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -38,7 +38,7 @@ describe('CLBumpFeeComponent', () => {
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLBumpFeeComponent);
|
||||
fixture = TestBed.createComponent(CLNBumpFeeComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -8,13 +8,13 @@ import { SharedModule } from '../../../../shared/shared.module';
|
||||
|
||||
import { CLNChannelInformationComponent } from './channel-information.component';
|
||||
|
||||
describe('CLChannelInformationComponent', () => {
|
||||
let component: CLChannelInformationComponent;
|
||||
let fixture: ComponentFixture<CLChannelInformationComponent>;
|
||||
describe('CLNChannelInformationComponent', () => {
|
||||
let component: CLNChannelInformationComponent;
|
||||
let fixture: ComponentFixture<CLNChannelInformationComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelInformationComponent],
|
||||
declarations: [CLNChannelInformationComponent],
|
||||
imports: [
|
||||
SharedModule
|
||||
],
|
||||
@ -30,7 +30,7 @@ describe('CLChannelInformationComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelInformationComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelInformationComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -12,24 +12,24 @@ import { RTLEffects } from '../../../../../store/rtl.effects';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CLNEffects } from '../../../../store/cl.effects';
|
||||
import { CLNEffects } from '../../../../store/cln.effects';
|
||||
import { CLNChannelOpenTableComponent } from './channel-open-table.component';
|
||||
import { ExtraOptions, Route, Router } from '@angular/router';
|
||||
|
||||
describe('CLChannelOpenTableComponent', () => {
|
||||
let component: CLChannelOpenTableComponent;
|
||||
let fixture: ComponentFixture<CLChannelOpenTableComponent>;
|
||||
describe('CLNChannelOpenTableComponent', () => {
|
||||
let component: CLNChannelOpenTableComponent;
|
||||
let fixture: ComponentFixture<CLNChannelOpenTableComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelOpenTableComponent],
|
||||
declarations: [CLNChannelOpenTableComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -45,7 +45,7 @@ describe('CLChannelOpenTableComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelOpenTableComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelOpenTableComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -16,17 +16,17 @@ import { SharedModule } from '../../../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../../../shared/services/data.service';
|
||||
|
||||
describe('CLChannelPendingTableComponent', () => {
|
||||
let component: CLChannelPendingTableComponent;
|
||||
let fixture: ComponentFixture<CLChannelPendingTableComponent>;
|
||||
describe('CLNChannelPendingTableComponent', () => {
|
||||
let component: CLNChannelPendingTableComponent;
|
||||
let fixture: ComponentFixture<CLNChannelPendingTableComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelPendingTableComponent],
|
||||
declarations: [CLNChannelPendingTableComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -40,7 +40,7 @@ describe('CLChannelPendingTableComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelPendingTableComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelPendingTableComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -10,22 +10,22 @@ import { SharedModule } from '../../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CLNChannelsTablesComponent } from './channels-tables.component';
|
||||
|
||||
describe('CLChannelsTablesComponent', () => {
|
||||
let component: CLChannelsTablesComponent;
|
||||
let fixture: ComponentFixture<CLChannelsTablesComponent>;
|
||||
describe('CLNChannelsTablesComponent', () => {
|
||||
let component: CLNChannelsTablesComponent;
|
||||
let fixture: ComponentFixture<CLNChannelsTablesComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLChannelsTablesComponent],
|
||||
declarations: [CLNChannelsTablesComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -37,7 +37,7 @@ describe('CLChannelsTablesComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLChannelsTablesComponent);
|
||||
fixture = TestBed.createComponent(CLNChannelsTablesComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -6,7 +6,7 @@ import { CommonService } from '../../../../shared/services/common.service';
|
||||
import { DataService } from '../../../../shared/services/data.service';
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CLNOpenChannelComponent } from './open-channel.component';
|
||||
import { mockCLEffects, mockDataService, mockECLEffects, mockLNDEffects, mockMatDialogRef, mockRTLEffects } from '../../../../shared/test-helpers/mock-services';
|
||||
@ -14,17 +14,17 @@ import { EffectsModule } from '@ngrx/effects';
|
||||
import { SharedModule } from '../../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
describe('CLOpenChannelComponent', () => {
|
||||
let component: CLOpenChannelComponent;
|
||||
let fixture: ComponentFixture<CLOpenChannelComponent>;
|
||||
describe('CLNOpenChannelComponent', () => {
|
||||
let component: CLNOpenChannelComponent;
|
||||
let fixture: ComponentFixture<CLNOpenChannelComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOpenChannelComponent],
|
||||
declarations: [CLNOpenChannelComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -38,7 +38,7 @@ describe('CLOpenChannelComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOpenChannelComponent);
|
||||
fixture = TestBed.createComponent(CLNOpenChannelComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { SharedModule } from '../../../shared/shared.module';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -16,17 +16,17 @@ import { mockCLEffects, mockDataService, mockECLEffects, mockLNDEffects, mockMat
|
||||
import { EffectsModule } from '@ngrx/effects';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
describe('CLConnectPeerComponent', () => {
|
||||
let component: CLConnectPeerComponent;
|
||||
let fixture: ComponentFixture<CLConnectPeerComponent>;
|
||||
describe('CLNConnectPeerComponent', () => {
|
||||
let component: CLNConnectPeerComponent;
|
||||
let fixture: ComponentFixture<CLNConnectPeerComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLConnectPeerComponent],
|
||||
declarations: [CLNConnectPeerComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -40,7 +40,7 @@ describe('CLConnectPeerComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLConnectPeerComponent);
|
||||
fixture = TestBed.createComponent(CLNConnectPeerComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -11,22 +11,22 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { CLNConnectionsComponent } from './connections.component';
|
||||
|
||||
describe('CLConnectionsComponent', () => {
|
||||
let component: CLConnectionsComponent;
|
||||
let fixture: ComponentFixture<CLConnectionsComponent>;
|
||||
describe('CLNConnectionsComponent', () => {
|
||||
let component: CLNConnectionsComponent;
|
||||
let fixture: ComponentFixture<CLNConnectionsComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLConnectionsComponent, CurrencyUnitConverterComponent],
|
||||
declarations: [CLNConnectionsComponent, CurrencyUnitConverterComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -38,7 +38,7 @@ describe('CLConnectionsComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLConnectionsComponent);
|
||||
fixture = TestBed.createComponent(CLNConnectionsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -16,17 +16,17 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLPeersComponent', () => {
|
||||
let component: CLPeersComponent;
|
||||
let fixture: ComponentFixture<CLPeersComponent>;
|
||||
describe('CLNPeersComponent', () => {
|
||||
let component: CLNPeersComponent;
|
||||
let fixture: ComponentFixture<CLNPeersComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLPeersComponent],
|
||||
declarations: [CLNPeersComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
@ -40,7 +40,7 @@ describe('CLPeersComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLPeersComponent);
|
||||
fixture = TestBed.createComponent(CLNPeersComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -14,17 +14,17 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLFeeReportComponent', () => {
|
||||
let component: CLFeeReportComponent;
|
||||
let fixture: ComponentFixture<CLFeeReportComponent>;
|
||||
describe('CLNFeeReportComponent', () => {
|
||||
let component: CLNFeeReportComponent;
|
||||
let fixture: ComponentFixture<CLNFeeReportComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLFeeReportComponent],
|
||||
declarations: [CLNFeeReportComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -36,7 +36,7 @@ describe('CLFeeReportComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLFeeReportComponent);
|
||||
fixture = TestBed.createComponent(CLNFeeReportComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,20 +4,20 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { CLNReportsComponent } from './reports.component';
|
||||
|
||||
describe('CLReportsComponent', () => {
|
||||
let component: CLReportsComponent;
|
||||
let fixture: ComponentFixture<CLReportsComponent>;
|
||||
describe('CLNReportsComponent', () => {
|
||||
let component: CLNReportsComponent;
|
||||
let fixture: ComponentFixture<CLNReportsComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLReportsComponent],
|
||||
declarations: [CLNReportsComponent],
|
||||
imports: [SharedModule, RouterTestingModule]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLReportsComponent);
|
||||
fixture = TestBed.createComponent(CLNReportsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
|
||||
@ -13,17 +13,17 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLTransactionsReportComponent', () => {
|
||||
let component: CLTransactionsReportComponent;
|
||||
let fixture: ComponentFixture<CLTransactionsReportComponent>;
|
||||
describe('CLNTransactionsReportComponent', () => {
|
||||
let component: CLNTransactionsReportComponent;
|
||||
let fixture: ComponentFixture<CLNTransactionsReportComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLTransactionsReportComponent],
|
||||
declarations: [CLNTransactionsReportComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -35,7 +35,7 @@ describe('CLTransactionsReportComponent', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
const service = TestBed.inject(CommonService);
|
||||
fixture = TestBed.createComponent(CLTransactionsReportComponent);
|
||||
fixture = TestBed.createComponent(CLNTransactionsReportComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -15,18 +15,18 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLFailedTransactionsComponent', () => {
|
||||
let component: CLFailedTransactionsComponent;
|
||||
let fixture: ComponentFixture<CLFailedTransactionsComponent>;
|
||||
describe('CLNFailedTransactionsComponent', () => {
|
||||
let component: CLNFailedTransactionsComponent;
|
||||
let fixture: ComponentFixture<CLNFailedTransactionsComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLFailedTransactionsComponent],
|
||||
declarations: [CLNFailedTransactionsComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
RouterTestingModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -38,7 +38,7 @@ describe('CLFailedTransactionsComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLFailedTransactionsComponent);
|
||||
fixture = TestBed.createComponent(CLNFailedTransactionsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -14,17 +14,17 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLForwardingHistoryComponent', () => {
|
||||
let component: CLForwardingHistoryComponent;
|
||||
let fixture: ComponentFixture<CLForwardingHistoryComponent>;
|
||||
describe('CLNForwardingHistoryComponent', () => {
|
||||
let component: CLNForwardingHistoryComponent;
|
||||
let fixture: ComponentFixture<CLNForwardingHistoryComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLForwardingHistoryComponent],
|
||||
declarations: [CLNForwardingHistoryComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -36,7 +36,7 @@ describe('CLForwardingHistoryComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLForwardingHistoryComponent);
|
||||
fixture = TestBed.createComponent(CLNForwardingHistoryComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../store/cl.reducers';
|
||||
import { CLNReducer } from '../../store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -15,18 +15,18 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
|
||||
describe('CLLocalFailedTransactionsComponent', () => {
|
||||
let component: CLLocalFailedTransactionsComponent;
|
||||
let fixture: ComponentFixture<CLLocalFailedTransactionsComponent>;
|
||||
describe('CLNLocalFailedTransactionsComponent', () => {
|
||||
let component: CLNLocalFailedTransactionsComponent;
|
||||
let fixture: ComponentFixture<CLNLocalFailedTransactionsComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLLocalFailedTransactionsComponent],
|
||||
declarations: [CLNLocalFailedTransactionsComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
RouterTestingModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -38,7 +38,7 @@ describe('CLLocalFailedTransactionsComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLLocalFailedTransactionsComponent);
|
||||
fixture = TestBed.createComponent(CLNLocalFailedTransactionsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
@ -13,17 +13,17 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
import { mockDataService, mockLoggerService } from '../../../shared/test-helpers/mock-services';
|
||||
|
||||
describe('CLRoutingPeersComponent', () => {
|
||||
let component: CLRoutingPeersComponent;
|
||||
let fixture: ComponentFixture<CLRoutingPeersComponent>;
|
||||
describe('CLNRoutingPeersComponent', () => {
|
||||
let component: CLNRoutingPeersComponent;
|
||||
let fixture: ComponentFixture<CLNRoutingPeersComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLRoutingPeersComponent],
|
||||
declarations: [CLNRoutingPeersComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -35,7 +35,7 @@ describe('CLRoutingPeersComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLRoutingPeersComponent);
|
||||
fixture = TestBed.createComponent(CLNRoutingPeersComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,20 +4,20 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { CLNRoutingComponent } from './routing.component';
|
||||
|
||||
describe('CLRoutingComponent', () => {
|
||||
let component: CLRoutingComponent;
|
||||
let fixture: ComponentFixture<CLRoutingComponent>;
|
||||
describe('CLNRoutingComponent', () => {
|
||||
let component: CLNRoutingComponent;
|
||||
let fixture: ComponentFixture<CLNRoutingComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLRoutingComponent],
|
||||
declarations: [CLNRoutingComponent],
|
||||
imports: [SharedModule, RouterTestingModule]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLRoutingComponent);
|
||||
fixture = TestBed.createComponent(CLNRoutingComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,20 +4,20 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { CLNSignVerifyMessageComponent } from './sign-verify-message.component';
|
||||
|
||||
describe('CLSignVerifyMessageComponent', () => {
|
||||
let component: CLSignVerifyMessageComponent;
|
||||
let fixture: ComponentFixture<CLSignVerifyMessageComponent>;
|
||||
describe('CLNSignVerifyMessageComponent', () => {
|
||||
let component: CLNSignVerifyMessageComponent;
|
||||
let fixture: ComponentFixture<CLNSignVerifyMessageComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLSignVerifyMessageComponent],
|
||||
declarations: [CLNSignVerifyMessageComponent],
|
||||
imports: [SharedModule, RouterTestingModule]
|
||||
}).
|
||||
compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLSignVerifyMessageComponent);
|
||||
fixture = TestBed.createComponent(CLNSignVerifyMessageComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -8,13 +8,13 @@ import { mockDataService, mockLoggerService } from '../../../shared/test-helpers
|
||||
import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
describe('CLSignComponent', () => {
|
||||
let component: CLSignComponent;
|
||||
let fixture: ComponentFixture<CLSignComponent>;
|
||||
describe('CLNSignComponent', () => {
|
||||
let component: CLNSignComponent;
|
||||
let fixture: ComponentFixture<CLNSignComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLSignComponent],
|
||||
declarations: [CLNSignComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule
|
||||
@ -28,7 +28,7 @@ describe('CLSignComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLSignComponent);
|
||||
fixture = TestBed.createComponent(CLNSignComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -8,13 +8,13 @@ import { mockDataService, mockLoggerService } from '../../../shared/test-helpers
|
||||
import { SharedModule } from '../../../shared/shared.module';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
describe('CLVerifyComponent', () => {
|
||||
let component: CLVerifyComponent;
|
||||
let fixture: ComponentFixture<CLVerifyComponent>;
|
||||
describe('CLNVerifyComponent', () => {
|
||||
let component: CLNVerifyComponent;
|
||||
let fixture: ComponentFixture<CLNVerifyComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLVerifyComponent],
|
||||
declarations: [CLNVerifyComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule
|
||||
@ -28,7 +28,7 @@ describe('CLVerifyComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLVerifyComponent);
|
||||
fixture = TestBed.createComponent(CLNVerifyComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,7 +4,7 @@ import { Store, StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
@ -18,17 +18,17 @@ import { listInvoices } from '../../../store/cln.selector';
|
||||
import { ApiCallStatusPayload } from '../../../../shared/models/apiCallsPayload';
|
||||
import { ListInvoices } from '../../../../shared/models/clModels';
|
||||
|
||||
describe('CLInvoiceInformationComponent', () => {
|
||||
let component: CLInvoiceInformationComponent;
|
||||
let fixture: ComponentFixture<CLInvoiceInformationComponent>;
|
||||
describe('CLNInvoiceInformationComponent', () => {
|
||||
let component: CLNInvoiceInformationComponent;
|
||||
let fixture: ComponentFixture<CLNInvoiceInformationComponent>;
|
||||
let store: Store<RTLState>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLInvoiceInformationComponent],
|
||||
declarations: [CLNInvoiceInformationComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -42,7 +42,7 @@ describe('CLInvoiceInformationComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLInvoiceInformationComponent);
|
||||
fixture = TestBed.createComponent(CLNInvoiceInformationComponent);
|
||||
component = fixture.componentInstance;
|
||||
store = fixture.debugElement.injector.get(Store);
|
||||
fixture.detectChanges();
|
||||
|
@ -4,7 +4,7 @@ import { Store, StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../../store/cl.reducers';
|
||||
import { CLNReducer } from '../../../store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
@ -15,17 +15,17 @@ import { SharedModule } from '../../../../shared/shared.module';
|
||||
import { DataService } from '../../../../shared/services/data.service';
|
||||
import { RTLState } from '../../../../store/rtl.state';
|
||||
|
||||
describe('CLOfferInformationComponent', () => {
|
||||
let component: CLOfferInformationComponent;
|
||||
let fixture: ComponentFixture<CLOfferInformationComponent>;
|
||||
describe('CLNOfferInformationComponent', () => {
|
||||
let component: CLNOfferInformationComponent;
|
||||
let fixture: ComponentFixture<CLNOfferInformationComponent>;
|
||||
let store: Store<RTLState>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLOfferInformationComponent],
|
||||
declarations: [CLNOfferInformationComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -39,7 +39,7 @@ describe('CLOfferInformationComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLOfferInformationComponent);
|
||||
fixture = TestBed.createComponent(CLNOfferInformationComponent);
|
||||
component = fixture.componentInstance;
|
||||
store = fixture.debugElement.injector.get(Store);
|
||||
fixture.detectChanges();
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
|
||||
@ -16,18 +16,18 @@ import { CommonService } from '../../shared/services/common.service';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { DataService } from '../../shared/services/data.service';
|
||||
|
||||
describe('CLTransactionsComponent', () => {
|
||||
let component: CLTransactionsComponent;
|
||||
let fixture: ComponentFixture<CLTransactionsComponent>;
|
||||
describe('CLNTransactionsComponent', () => {
|
||||
let component: CLNTransactionsComponent;
|
||||
let fixture: ComponentFixture<CLNTransactionsComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [CLTransactionsComponent, CLQueryRoutesComponent],
|
||||
declarations: [CLNTransactionsComponent, CLNQueryRoutesComponent],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
@ -39,7 +39,7 @@ describe('CLTransactionsComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CLTransactionsComponent);
|
||||
fixture = TestBed.createComponent(CLNTransactionsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
|
||||
@ -26,7 +26,7 @@ describe('ECLGraphComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -25,7 +25,7 @@ describe('ECLLookupsComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -9,7 +9,7 @@ import { mockDataService, mockLoggerService, mockECLEffects } from '../../../sha
|
||||
import { SharedModule } from '../../../shared/shared.module';
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { ECLEffects } from '../../store/ecl.effects';
|
||||
|
||||
@ -25,7 +25,7 @@ describe('ECLQueryRoutesComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../shared/services/common.service';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
@ -30,7 +30,7 @@ describe('ECLHomeComponent', () => {
|
||||
imports: [
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -4,7 +4,7 @@ import { mockECLEffects } from '../../../shared/test-helpers/mock-services';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { ECLEffects } from '../../store/ecl.effects';
|
||||
import { ECLOnChainReceiveComponent } from './on-chain-receive.component';
|
||||
@ -17,7 +17,7 @@ describe('ECLOnChainReceiveComponent', () => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ECLOnChainReceiveComponent],
|
||||
imports: [
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
{ provide: ECLEffects, useClass: mockECLEffects }
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -26,7 +26,7 @@ describe('ECLOnChainSendModalComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -5,7 +5,7 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { ECLOnChainSendComponent } from './on-chain-send.component';
|
||||
|
||||
@ -19,7 +19,7 @@ describe('ECLOnChainSendComponent', () => {
|
||||
imports: [
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
]
|
||||
}).
|
||||
compileComponents();
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ECLOnChainTransactionHistoryComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -11,7 +11,7 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { ECLOnChainTransactionHistoryComponent } from './on-chain-transaction-history/on-chain-transaction-history.component';
|
||||
import { ECLOnChainComponent } from './on-chain.component';
|
||||
@ -27,7 +27,7 @@ describe('ECLOnChainComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -25,7 +25,7 @@ describe('ECLChannelInactiveTableComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -5,7 +5,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -28,7 +28,7 @@ describe('ECLChannelOpenTableComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ECLChannelPendingTableComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
|
||||
@ -24,7 +24,7 @@ describe('ECLChannelsTablesComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
{ provide: LoggerService, useClass: mockLoggerService }
|
||||
|
@ -8,7 +8,7 @@ import { SharedModule } from '../../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { ECLOpenChannelComponent } from './open-channel.component';
|
||||
|
||||
@ -22,7 +22,7 @@ describe('ECLOpenChannelComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
|
||||
@ -24,7 +24,7 @@ describe('ECLConnectPeerComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -9,7 +9,7 @@ import { SharedModule } from '../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { ECLConnectionsComponent } from './connections.component';
|
||||
|
||||
@ -24,7 +24,7 @@ describe('ECLConnectionsComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -26,7 +26,7 @@ describe('ECLPeersComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ECLFeeReportComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
|
||||
@ -23,7 +23,7 @@ describe('ECLTransactionsReportComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ECLForwardingHistoryComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ECLRoutingPeersComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule, Store } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -28,7 +28,7 @@ describe('ECLInvoiceInformationComponent', () => {
|
||||
declarations: [ECLInvoiceInformationComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -5,7 +5,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
|
||||
@ -27,7 +27,7 @@ describe('ECLTransactionsComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -25,7 +25,7 @@ describe('ChannelBackupTableComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -25,7 +25,7 @@ describe('ChannelRestoreTableComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
|
||||
@ -26,7 +26,7 @@ describe('GraphComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -5,7 +5,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { ChannelLookupComponent } from './channel-lookup.component';
|
||||
|
||||
@ -19,7 +19,7 @@ describe('ChannelLookupComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
]
|
||||
}).
|
||||
compileComponents();
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -25,7 +25,7 @@ describe('LookupsComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
|
||||
@ -25,7 +25,7 @@ describe('QueryRoutesComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
import { LoopService } from '../../../shared/services/loop.service';
|
||||
@ -25,7 +25,7 @@ describe('ChannelLiquidityInfoComponent', () => {
|
||||
imports: [
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../shared/services/common.service';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
@ -31,7 +31,7 @@ describe('HomeComponent', () => {
|
||||
imports: [
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../shared/services/common.service';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
@ -22,7 +22,7 @@ describe('NetworkInfoComponent', () => {
|
||||
declarations: [NetworkInfoComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
@ -24,7 +24,7 @@ describe('OnChainLabelModalComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -6,7 +6,7 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { LNDEffects } from '../../store/lnd.effects';
|
||||
import { OnChainReceiveComponent } from './on-chain-receive.component';
|
||||
@ -21,7 +21,7 @@ describe('OnChainReceiveComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
{ provide: LNDEffects, useClass: mockLNDEffects }
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -27,7 +27,7 @@ describe('OnChainSendModalComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -5,7 +5,7 @@ import { SharedModule } from '../../../shared/shared.module';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { OnChainSendComponent } from './on-chain-send.component';
|
||||
|
||||
@ -19,7 +19,7 @@ describe('OnChainSendComponent', () => {
|
||||
imports: [
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
]
|
||||
}).
|
||||
compileComponents();
|
||||
|
@ -11,7 +11,7 @@ import { RTLEffects } from '../../store/rtl.effects';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { OnChainComponent } from './on-chain.component';
|
||||
import { OnChainTransactionHistoryComponent } from './utxo-tables/on-chain-transaction-history/on-chain-transaction-history.component';
|
||||
@ -29,7 +29,7 @@ describe('OnChainComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('OnChainTransactionHistoryComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
|
||||
@ -27,7 +27,7 @@ describe('UTXOTablesComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
@ -25,7 +25,7 @@ describe('OnChainUTXOsComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { DataService } from '../../../../shared/services/data.service';
|
||||
|
||||
@ -24,7 +24,7 @@ describe('BumpFeeComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
{ provide: LoggerService, useClass: mockLoggerService },
|
||||
|
@ -4,9 +4,10 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
import { CommonService } from '../../../../shared/services/common.service';
|
||||
|
||||
import { ChannelRebalanceComponent } from './channel-rebalance.component';
|
||||
import { mockCLEffects, mockECLEffects, mockLNDEffects, mockLoggerService, mockMatDialogRef, mockRTLEffects } from '../../../../shared/test-helpers/mock-services';
|
||||
@ -24,10 +25,11 @@ describe('ChannelRebalanceComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
{ provide: LoggerService, useClass: mockLoggerService },
|
||||
{ provide: MatDialogRef, useClass: mockMatDialogRef },
|
||||
{ provide: MAT_DIALOG_DATA, useValue: { message: { selChannel: {}, channels: [] } } }
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ChannelActiveHTLCsTableComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ChannelClosedTableComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -30,7 +30,7 @@ describe('ChannelOpenTableComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService, LoopService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ChannelPendingTableComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
|
||||
@ -24,7 +24,7 @@ describe('ChannelsTablesComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
{ provide: LoggerService, useClass: mockLoggerService }
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../../shared/services/logger.service';
|
||||
|
||||
@ -24,7 +24,7 @@ describe('CloseChannelComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -9,7 +9,7 @@ import { RTLEffects } from '../../../../store/rtl.effects';
|
||||
|
||||
import { RootReducer } from '../../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../../eclair/store/ecl.reducers';
|
||||
import { OpenChannelComponent } from './open-channel.component';
|
||||
|
||||
@ -23,7 +23,7 @@ describe('OpenChannelComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
|
||||
@ -25,7 +25,7 @@ describe('ConnectPeerComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer }),
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer }),
|
||||
EffectsModule.forRoot([mockRTLEffects, mockLNDEffects, mockCLEffects, mockECLEffects])
|
||||
],
|
||||
providers: [
|
||||
|
@ -4,7 +4,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../eclair/store/ecl.reducers';
|
||||
import { LoggerService } from '../../shared/services/logger.service';
|
||||
|
||||
@ -26,7 +26,7 @@ describe('ConnectionsComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -25,7 +25,7 @@ describe('PeersComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { DataService } from '../../../shared/services/data.service';
|
||||
@ -23,7 +23,7 @@ describe('FeeReportComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
|
||||
@ -24,7 +24,7 @@ describe('TransactionsReportComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -3,7 +3,7 @@ import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../../lnd/store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -24,7 +24,7 @@ describe('ForwardingHistoryComponent', () => {
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
@ -4,7 +4,7 @@ import { RouterTestingModule } from '@angular/router/testing';
|
||||
|
||||
import { RootReducer } from '../../../store/rtl.reducers';
|
||||
import { LNDReducer } from '../../store/lnd.reducers';
|
||||
import { CLReducer } from '../../../cln/store/cl.reducers';
|
||||
import { CLNReducer } from '../../../cln/store/cln.reducers';
|
||||
import { ECLReducer } from '../../../eclair/store/ecl.reducers';
|
||||
import { CommonService } from '../../../shared/services/common.service';
|
||||
import { LoggerService } from '../../../shared/services/logger.service';
|
||||
@ -26,7 +26,7 @@ describe('NonRoutingPeersComponent', () => {
|
||||
BrowserAnimationsModule,
|
||||
SharedModule,
|
||||
RouterTestingModule,
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cl: CLReducer, ecl: ECLReducer })
|
||||
StoreModule.forRoot({ root: RootReducer, lnd: LNDReducer, cln: CLNReducer, ecl: ECLReducer })
|
||||
],
|
||||
providers: [
|
||||
CommonService,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user