MCPcopy
hub / github.com/deepstreamIO/deepstream.io / deleted

Function deleted

test-e2e/framework-v3/record.ts:16–26  ·  view source on GitHub ↗
(clientExpression: string, recordName: string, called: boolean)

Source from the content-addressed store, hash-verified

14
15const 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) => {

Callers

nothing calls this directly

Calls 2

forEachMethod · 0.80
getRecordDataFunction · 0.70

Tested by

no test coverage detected