Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RonanCodes committed Apr 29, 2024
1 parent 932c73d commit 49f1540
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/jokes/jokes.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ describe('JokesComponent', () => {
beforeEach(async () => {
const jokesStoreService = {
...jasmine.createSpyObj('JokeStoreService', ['']),
jokes$: of(['Chuck Norris can divide by zero.']),
jokes$: of([
{ value: 'Chuck Norris can divide by zero.', isFavourite: false },
]),
};

await TestBed.configureTestingModule({
Expand Down

0 comments on commit 49f1540

Please sign in to comment.