We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9015d3c commit 1643106Copy full SHA for 1643106
nordicNRPlus/Thingexists.spec.ts
@@ -7,21 +7,7 @@ void describe('thingExists', () => {
7
void it('should check if thing exists in Iot Core', async () => {
8
const icSend = mock.fn(async () =>
9
Promise.resolve({
10
- $metadata: {
11
- httpStatusCode: 200,
12
- requestId: '',
13
- extendedRequestId: undefined,
14
- cfId: undefined,
15
- attempts: 1,
16
- totalRetryDelay: 0,
17
- },
18
attributes: { name: 'myDevice123' },
19
- defaultClientId: '',
20
- thingArn: '',
21
- thingId: '',
22
- thingName: '',
23
- thingTypeName: '',
24
- version: 3,
25
}),
26
)
27
const iotClient: IoTClient = { send: icSend } as unknown as IoTClient
0 commit comments