()
| 1 | let UserFactory = function () { |
| 2 | const user = {}; |
| 3 | |
| 4 | let getUser = () => { |
| 5 | return user; |
| 6 | }; |
| 7 | |
| 8 | let isSignedIn = () => { |
| 9 | return user.isSignedIn; |
| 10 | }; |
| 11 | |
| 12 | return { getUser, isSignedIn }; |
| 13 | }; |
| 14 | |
| 15 | export default UserFactory; |
nothing calls this directly
no outgoing calls
no test coverage detected