frontend: update unit tests post ua-parser-js upgrade

This commit is contained in:
Quentin Gliech
2023-09-12 15:37:54 +02:00
parent 39526f5d40
commit 2938ec90fc

View File

@@ -107,12 +107,13 @@ const IOS_UA = [
"Element/1.8.21 (iPad Pro (12.9-inch) (3rd generation); iOS 15.2; Scale/3.00)",
];
const IOS_EXPECTED_RESULT = [
makeDeviceExtendedInfo(DeviceType.Mobile, "Apple", "iPhone", "iOS 15.2"),
makeDeviceExtendedInfo(DeviceType.Mobile, "Apple", "iPhone", "iOS", "15.2"),
makeDeviceExtendedInfo(
DeviceType.Mobile,
"Apple",
"iPhone XS Max",
"iOS 15.2",
"iOS",
"15.2",
),
makeDeviceExtendedInfo(
DeviceType.Mobile,