I have found this example where ReplaySubject is used in unit testing in angular
describe(\'Store > Effect > ShoppingEffect\', () => { let actions$: