Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
chore: add description to readme
  • Loading branch information
draylegend committed Sep 26, 2022
1 parent 06b8de3 commit 770823d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Immomio

This project was generated using [Nx](https://nx.dev).

## Prepare

`yarn`

## Usage

Angular client: `nx serve angular-client`.

Nest API: `nx serve nest-api`.

Dependency graph: `nx dep-graph`.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { AppointmentFacade } from '@immomio/appointment/domain';
import {
AppointmentFacade,
selectSelectedViewings,
} from '@immomio/appointment/domain';
import { provideMockStore } from '@ngrx/store/testing';
import { DetailsFeatureComponent } from './details-feature.component';

Expand All @@ -10,7 +13,12 @@ describe('AppointmentFeaturesDetailsFeatureComponent', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [DetailsFeatureComponent],
providers: [AppointmentFacade, provideMockStore()],
providers: [
AppointmentFacade,
provideMockStore({
selectors: [{ selector: selectSelectedViewings, value: [] }],
}),
],
});

fixture = TestBed.createComponent(DetailsFeatureComponent);
Expand Down

0 comments on commit 770823d

Please sign in to comment.