Skip to content

Commit dd8a73c

Browse files
committed
fix: #569 fix PR comments
1 parent bf75926 commit dd8a73c

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/app/modules/users/models/users.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ export interface User {
33
email: string;
44
role?: string;
55
id: string;
6-
tenand_id?: string;
6+
tenant_id?: string;
77
deleted?: string;
88
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div class="container">
2-
<app-users-list></app-users-list>
3-
</div>
2+
<app-users-list></app-users-list>
3+
</div>

src/app/modules/users/store/user.effects.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('UserEffects', () => {
3030
expect(effects).toBeTruthy();
3131
});
3232

33-
it('should return a list of users when the action LOAD_USERS is called', async () => {
33+
it('should return a list of users when the action LOAD_USERS call succeeds', async () => {
3434
actions$ = of({ type: UserActionTypes.LOAD_USERS });
3535
const serviceSpy = spyOn(service, 'loadUsers');
3636
serviceSpy.and.returnValue(of(user));

src/app/modules/users/store/user.reducer.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { UserState, userReducer } from './user.reducers';
2-
import { User } from '../models/users';
32
import * as actions from './user.actions';
43

54
describe('userReducer', () => {
@@ -12,7 +11,7 @@ describe('userReducer', () => {
1211
expect(state.isLoading).toEqual(true);
1312
});
1413

15-
it('on LoadUserSucess, isLoading is flase and state has data', () => {
14+
it('on LoadUserSucess, isLoading is false and state has data', () => {
1615
const data = [];
1716
const action = new actions.LoadUsersSuccess(data);
1817
const state = userReducer(initialState, action);

0 commit comments

Comments
 (0)