(clientExpression: string, recordName: string, called: boolean)
| 26 | }, |
| 27 | |
| 28 | discarded (clientExpression: string, recordName: string, called: boolean) { |
| 29 | getRecordData(clientExpression, recordName).forEach((recordData) => { |
| 30 | if (called) { |
| 31 | sinon.assert.calledOnce(recordData.discardCallback) |
| 32 | recordData.discardCallback.resetHistory() |
| 33 | } else { |
| 34 | sinon.assert.notCalled(recordData.discardCallback) |
| 35 | } |
| 36 | }) |
| 37 | }, |
| 38 | |
| 39 | receivedUpdate (clientExpression: string, recordName: string, data: string) { |
| 40 | data = utils.parseData(data) |
nothing calls this directly
no test coverage detected