(checkpointId: Id, label: string)
| 180 | }; |
| 181 | |
| 182 | const setCheckpoint = (checkpointId: Id, label: string) => { |
| 183 | if ( |
| 184 | hasCheckpoint(checkpointId) && |
| 185 | mapGet(labels, checkpointId) !== label |
| 186 | ) { |
| 187 | mapSet(labels, checkpointId, label); |
| 188 | callListeners(checkpointListeners, [checkpointId]); |
| 189 | } |
| 190 | return checkpoints; |
| 191 | }; |
| 192 | |
| 193 | const getStore = (): Store => store; |
| 194 |
no test coverage detected
searching dependent graphs…