(clientExpression: string, recordName: string, called: boolean)
| 14 | |
| 15 | const assert2 = { |
| 16 | deleted (clientExpression: string, recordName: string, called: boolean) { |
| 17 | getRecordData(clientExpression, recordName).forEach((recordData) => { |
| 18 | if (called) { |
| 19 | sinon.assert.calledOnce(recordData.deleteCallback) |
| 20 | recordData.deleteCallback.resetHistory() |
| 21 | } else { |
| 22 | sinon.assert.notCalled(recordData.deleteCallback) |
| 23 | } |
| 24 | recordData.deleteCallback.resetHistory() |
| 25 | }) |
| 26 | }, |
| 27 | |
| 28 | discarded (clientExpression: string, recordName: string, called: boolean) { |
| 29 | getRecordData(clientExpression, recordName).forEach((recordData) => { |
nothing calls this directly
no test coverage detected