mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 23:00:55 +00:00
Fix json escaped raw networkmap. https://github.com/Koenkk/zigbee2mqtt/issues/3281
This commit is contained in:
@@ -78,7 +78,7 @@ class NetworkMap extends Extension {
|
||||
}
|
||||
|
||||
raw(topology) {
|
||||
return stringify(topology);
|
||||
return topology;
|
||||
}
|
||||
|
||||
graphviz(topology) {
|
||||
|
||||
@@ -295,7 +295,6 @@ describe('Networkmap', () => {
|
||||
};
|
||||
|
||||
const actual = JSON.parse(call[1]);
|
||||
actual.data.value = JSON.parse(actual.data.value);
|
||||
expect(actual).toStrictEqual(expected);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user