Skip to content

Commit

Permalink
docs: add missing semi-colons
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerhahnekamp committed Sep 10, 2024
1 parent f3fb9bb commit d3b02f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions projects/ngrx.io/content/guide/signals/signal-store/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -650,24 +650,24 @@ To test the extension in isolation, an artificial "Wrapper" SignalStore is creat
<code-example header="with-play-tracking.spec.ts">

describe('withTrackedPlay', () => {
const TrackedPlayStore = signalStore({providedIn: 'root'}, withPlayTracking();
const TrackedPlayStore = signalStore({providedIn: 'root'}, withPlayTracking());

it('should track movies', fakeAsync(() => {
const store = TestBed.inject(TrackedPlayStore)
const store = TestBed.inject(TrackedPlayStore);

store.play(1);
tick(1000);

store.stop();
store.play(2)
store.play(2);
tick(1000);

store.play(3);
tick(1000);

store.play(1)
store.play(1);
tick(1000);
store.stop()
store.stop();

expect(store.trackedData()).toEqual({1: 2000, 2: 1000, 3: 1000});
}))
Expand Down

0 comments on commit d3b02f9

Please sign in to comment.