Skip to content

Commit 8d17e93

Browse files
committed
Fix all regressions
1 parent ff80728 commit 8d17e93

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/scenarios/offline/test-invalid-json.scenario.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ steps:
66
- wait-serial: '[SD] Waiting for incoming JSON string...'
77
- write-serial: '{"exportVersion":"1.0.0",'
88
- write-serial: '\n'
9-
- wait-serial: '[SD] Runtime Error: Unable to deserialize config.json'
9+
- wait-serial: '[SD] Error: Unable to deserialize config.json'

tests/scenarios/offline/test-log-ds18b20.scenario.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: Brent Rubell for Adafruit Industries
44

55
steps:
66
- wait-serial: '[SD] Waiting for incoming JSON string...'
7-
- write-serial: '{"exportVersion": "1.0.0", "exportedBy": "wokwi", "exportedAt": "2024-10-28T18:58:23.976Z", "exportedFromDevice": {"board": "metroesp32s3", "firmwareVersion": "1.0.0-beta.93", "referenceVoltage": 2.6, "totalGPIOPins": 11, "totalAnalogPins": 6}, "components": [{"componentAPI": "ds18x20", "name": "DS18B20: Temperature Sensor", "sensorTypeCount": 2, "sensorType1": "object-temp-fahrenheit", "sensorType2": "object-temp", "pinName": "D6", "sensorResolution": 12, "period": 5}], "checksum": 34}'
7+
- write-serial: '{"exportedFromDevice":{"referenceVoltage":2.6,"totalGPIOPins":11,"totalAnalogPins":6},"components":[{"componentAPI":"ds18x20","name":"DS18B20: Temperature Sensor","sensorTypeCount":2,"ds18x20SensorTypes":[{"type":"object-temp-fahrenheit"},{"type":"object-temp"}],"pinName":"D6","sensorResolution":12,"period":5}],"checksum":34}'
88
- write-serial: '\n'
99
- wait-serial: '{"timestamp":0,"pin":"D6","value":0,"si_unit":"C"}'
10-
- wait-serial: '{"timestamp":0,"pin":"D6","value":32,"si_unit":"F"}'
10+
- wait-serial: '{"timestamp":1,"pin":"D6","value":32,"si_unit":"F"}'

tests/scenarios/offline/test-valid-checksum.scenario.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ steps:
66
- wait-serial: '[SD] Waiting for incoming JSON string...'
77
- write-serial: '{"exportVersion": "1.0.0", "exportedBy": "wokwi", "exportedAt": "2024-10-28T18:58:23.976Z", "exportedFromDevice": {"board": "metroesp32s3", "firmwareVersion": "1.0.0-beta.93", "referenceVoltage": 2.6, "totalGPIOPins": 11, "totalAnalogPins": 6}, "components": [{"componentAPI": "analogio", "name": "Analog Pin", "pinName": "D14", "type": "analog_pin", "mode": "ANALOG", "direction": "INPUT", "sampleMode": "TIMER", "analogReadMode": "raw", "period": 5, "isPin": true}], "checksum": 28}'
88
- write-serial: '\n'
9-
- wait-serial: '[SD] Checksum OK!'
9+
- wait-serial: '[SD] Successfully deserialized JSON config file!'

0 commit comments

Comments
 (0)