Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Commit

Permalink
chore(build): Reorganize project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRyanDev committed Sep 27, 2016
1 parent 97365b0 commit 1ec737b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export { Effect, mergeEffects } from './src/effects';
export { Actions } from './src/actions';
export { EffectsModule } from './src/effects.module';
export { EffectsSubscription } from './src/effects-subscription';
export { toPayload } from './src/util';
2 changes: 1 addition & 1 deletion testing/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ReplaySubject } from 'rxjs/ReplaySubject';


@Injectable()
export class EffectsTestRunner extends ReplaySubject<any> {
export class EffectsRunner extends ReplaySubject<any> {
constructor() {
super();
}
Expand Down
8 changes: 4 additions & 4 deletions testing/testing.module.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { NgModule } from '@angular/core';
import { Actions } from '@ngrx/effects';
import { EffectsTestRunner } from './runner';
import { EffectsRunner } from './runner';


export function _createActions(runner: EffectsTestRunner): Actions {
export function _createActions(runner: EffectsRunner): Actions {
return new Actions(runner);
}

@NgModule({
providers: [
EffectsTestRunner,
{ provide: Actions, deps: [ EffectsTestRunner ], useFactory: _createActions }
EffectsRunner,
{ provide: Actions, deps: [ EffectsRunner ], useFactory: _createActions }
]
})
export class EffectsTestingModule { }

0 comments on commit 1ec737b

Please sign in to comment.