All files / src/app/extensions/quoting/facades selected-quote-context.facade.ts

71.42% Statements 5/7
75% Branches 3/4
0% Functions 0/1
71.42% Lines 5/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 151x 1x   1x   1x     1x            
import { Injectable } from '@angular/core';
import { Store, select } from '@ngrx/store';
 
import { selectRouteParam } from 'ish-core/store/core/router';
 
import { QuoteContextFacade } from './quote-context.facade';
 
@Injectable()
export class SelectedQuoteContextFacade extends QuoteContextFacade {
  constructor(store: Store) {
    super(store);
    this.connect('id', store.pipe(select(selectRouteParam('quoteId'))));
  }
}