(userID: string)
| 6 | // sessionID, a lot of things can go wrong when trying to use it with certain |
| 7 | // functions. |
| 8 | function createScriptViewer(userID: string): Viewer { |
| 9 | return new Viewer({ |
| 10 | isSocket: true, |
| 11 | loggedIn: true, |
| 12 | id: userID, |
| 13 | platformDetails: null, |
| 14 | deviceToken: null, |
| 15 | userID, |
| 16 | cookieID: null, |
| 17 | cookiePassword: null, |
| 18 | cookieHash: null, |
| 19 | sessionID: null, |
| 20 | sessionInfo: null, |
| 21 | isScriptViewer: true, |
| 22 | }); |
| 23 | } |
| 24 | |
| 25 | export { createScriptViewer }; |
no outgoing calls
no test coverage detected