()
| 150 | } |
| 151 | |
| 152 | private async resetDemoState(): Promise<void> { |
| 153 | resetTodoApi() |
| 154 | this.cacheSeedCount = 0 |
| 155 | this.nextTodoTitle = 'Add mutation assertion' |
| 156 | |
| 157 | await demoQueryClient.resetQueries({ queryKey: ['todos'] }) |
| 158 | this.createTodoMutation.reset() |
| 159 | } |
| 160 | |
| 161 | render() { |
| 162 | const query = this.todosQuery() |
no test coverage detected