mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 05:24:29 +00:00
Fix tests
This commit is contained in:
@@ -737,7 +737,7 @@ describe('Settings', () => {
|
||||
|
||||
settings._reRead();
|
||||
|
||||
const error = `friendly_name is not allowed to end with /`;
|
||||
const error = `friendly_name is not allowed to end or start with /`;
|
||||
expect(settings.validate()).toEqual(expect.arrayContaining([error]));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user