()
| 144 | } |
| 145 | |
| 146 | private async resetDemoState(): Promise<void> { |
| 147 | resetTodoApi() |
| 148 | this.cacheSeedCount = 0 |
| 149 | this.nextTodoTitle = 'Add mutation assertion' |
| 150 | |
| 151 | await demoQueryClient.resetQueries({ queryKey: todosQueries.all() }) |
| 152 | this.createTodoMutation.reset() |
| 153 | } |
| 154 | |
| 155 | render() { |
| 156 | const query = this.todosQuery() |
no test coverage detected