| 90 | mockie.mockThinkMockHttp(); |
| 91 | const App = getApplication(); |
| 92 | const watcher = class Watcher { |
| 93 | constructor(options,cb){ |
| 94 | this.options = options; |
| 95 | this.cb = cb; |
| 96 | } |
| 97 | watch(){ |
| 98 | console.log('start watch'); |
| 99 | this.cb({}); |
| 100 | } |
| 101 | }; |
| 102 | const option = Object.assign({}, defaultOption, {watcher}); |
| 103 | let app = new App(option); |
| 104 | app.run(); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…