Skip to content

Commit be7e230

Browse files
Update nordicNRPlus/validateInput.spec.ts
Co-authored-by: Markus Tacker <[email protected]>
1 parent 30f8907 commit be7e230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nordicNRPlus/validateInput.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import assert from 'node:assert'
33
import { describe, it } from 'node:test'
44
import { inputSchemaLwm2mMessage } from '../lambda/webhookHandler.ts'
55

6-
void describe('validateExampleInput', () => {
6+
void describe('inputSchemaLwm2mMessage', () => {
77
const jsonString = `{"type":"device.messages","messages":[{"teamId":"123123","deviceId":"123123","messageId":"b6903898-9998-4767-a7c2-123123123","topic":"$aws/things/123123/shadow/update/documents","message":{"previous":null,"current":{"state":{"desired":{"nrfcloud_mqtt_topic_prefix":"prod/randomTeamId/","pairing":{"state":"paired","topics":{"d2c":"prod/randomNum/m/d/randomNum/d2c","c2d":"prod/123/m/d/123123/+/r"}}}},"metadata":{"desired":{"nrfcloud_mqtt_topic_prefix":{"timestamp":1759240425},"pairing":{"state":{"timestamp":1759240425},"topics":{"d2c":{"timestamp":1759240425},"c2d":{"timestamp":1759240425}}}}},"version":1},"timestamp":1759240425},"receivedAt":"2025-09-30T13:53:45.262Z"}],"timestamp":"2025-10-01T12:23:52.583464498Z"}`
88
const parsed = JSON.parse(jsonString)
99

0 commit comments

Comments
 (0)