mirror of
				https://gitlab.nic.cz/turris/reforis/foris-js.git
				synced 2025-11-03 23:00:31 +01:00 
			
		
		
		
	Update tests
This commit is contained in:
		@@ -120,6 +120,7 @@ describe("<WiFiSettings/>", () => {
 | 
			
		||||
                    hwmode: "11a",
 | 
			
		||||
                    id: 0,
 | 
			
		||||
                    password: "TestPass",
 | 
			
		||||
                    encryption: "WPA3",
 | 
			
		||||
                },
 | 
			
		||||
                { enabled: false, id: 1 },
 | 
			
		||||
            ],
 | 
			
		||||
@@ -149,6 +150,7 @@ describe("<WiFiSettings/>", () => {
 | 
			
		||||
                    hwmode: "11g",
 | 
			
		||||
                    id: 0,
 | 
			
		||||
                    password: "TestPass",
 | 
			
		||||
                    encryption: "WPA3",
 | 
			
		||||
                },
 | 
			
		||||
                { enabled: false, id: 1 },
 | 
			
		||||
            ],
 | 
			
		||||
@@ -185,6 +187,7 @@ describe("<WiFiSettings/>", () => {
 | 
			
		||||
                    hwmode: "11a",
 | 
			
		||||
                    id: 0,
 | 
			
		||||
                    password: "TestPass",
 | 
			
		||||
                    encryption: "WPA3",
 | 
			
		||||
                },
 | 
			
		||||
                { enabled: false, id: 1 },
 | 
			
		||||
            ],
 | 
			
		||||
 
 | 
			
		||||
@@ -230,6 +230,7 @@ export function wifiSettingsFixture() {
 | 
			
		||||
                hwmode: "11a",
 | 
			
		||||
                id: 0,
 | 
			
		||||
                password: "TestPass",
 | 
			
		||||
                encryption: "WPA3",
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                SSID: "Turris",
 | 
			
		||||
@@ -308,6 +309,7 @@ export function wifiSettingsFixture() {
 | 
			
		||||
                hwmode: "11g",
 | 
			
		||||
                id: 1,
 | 
			
		||||
                password: "TestPass",
 | 
			
		||||
                encryption: "WPA3",
 | 
			
		||||
            },
 | 
			
		||||
        ],
 | 
			
		||||
    };
 | 
			
		||||
@@ -324,6 +326,7 @@ const oneDevice = {
 | 
			
		||||
            hwmode: "11a",
 | 
			
		||||
            id: 0,
 | 
			
		||||
            password: "TestPass",
 | 
			
		||||
            encryption: "WPA3",
 | 
			
		||||
        },
 | 
			
		||||
    ],
 | 
			
		||||
};
 | 
			
		||||
@@ -340,6 +343,7 @@ const twoDevices = {
 | 
			
		||||
            hwmode: "11a",
 | 
			
		||||
            id: 0,
 | 
			
		||||
            password: "TestPass",
 | 
			
		||||
            encryption: "WPA3",
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            SSID: "Turris2",
 | 
			
		||||
@@ -351,6 +355,7 @@ const twoDevices = {
 | 
			
		||||
            hwmode: "11a",
 | 
			
		||||
            id: 1,
 | 
			
		||||
            password: "TestPass",
 | 
			
		||||
            encryption: "WPA3",
 | 
			
		||||
        },
 | 
			
		||||
    ],
 | 
			
		||||
};
 | 
			
		||||
@@ -367,6 +372,7 @@ const threeDevices = {
 | 
			
		||||
            hwmode: "11a",
 | 
			
		||||
            id: 0,
 | 
			
		||||
            password: "TestPass",
 | 
			
		||||
            encryption: "WPA3",
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            SSID: "Turris2",
 | 
			
		||||
@@ -378,6 +384,7 @@ const threeDevices = {
 | 
			
		||||
            hwmode: "11a",
 | 
			
		||||
            id: 1,
 | 
			
		||||
            password: "TestPass",
 | 
			
		||||
            encryption: "WPA3",
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            SSID: "Turris3",
 | 
			
		||||
@@ -389,6 +396,7 @@ const threeDevices = {
 | 
			
		||||
            hwmode: "11a",
 | 
			
		||||
            id: 2,
 | 
			
		||||
            password: "",
 | 
			
		||||
            encryption: "WPA3",
 | 
			
		||||
        },
 | 
			
		||||
    ],
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user