-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7eb6a64
commit dcbc0b9
Showing
8 changed files
with
27 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
118 changes: 0 additions & 118 deletions
118
generated-files/container/HomeContainer/tests/__snapshots__/index.test.js.snap
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
generated-files/container/HomeContainer/tests/actions.test.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
generated-files/container/HomeContainer/tests/selectors.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import { fromJS } from 'immutable'; | ||
import { selectHomeContainerDomain } from '../selectors'; | ||
import { selectHomeContainer } from '../selectors'; | ||
|
||
describe('HomeContainer selector tests', () => { | ||
let mockedState; | ||
|
||
beforeEach(() => { | ||
mockedState = { | ||
homeContainer: fromJS({}), | ||
homeContainer: {}, | ||
}; | ||
}); | ||
|
||
it('should select the user state', () => { | ||
expect(selectHomeContainerDomain(mockedState)).toEqual( | ||
mockedState.homeContainer.toJS(), | ||
const homeContainerSelector = selectHomeContainer(); | ||
expect(homeContainerSelector(mockedState)).toEqual( | ||
mockedState.homeContainer, | ||
); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters