зеркало из
1
0
Форкнуть 0

update package and version, fix tests and texts (#546)

This commit is contained in:
YingXue 2022-09-12 14:42:38 -07:00 коммит произвёл GitHub
Родитель 1e6e6b14e5
Коммит 197d8353ca
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 515 добавлений и 163 удалений

667
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "azure-iot-explorer",
"version": "0.14.15",
"version": "0.15.0",
"description": "This project welcomes contributions and suggestions. Most contributions require you to agree to a\r Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\r the rights to use your contribution. For details, visit https://cla.microsoft.com.",
"main": "host/electron.js",
"build": {
@ -125,7 +125,7 @@
"css-loader": "6.7.1",
"css-minimizer-webpack-plugin": "3.4.1",
"electron": "18.0.0",
"electron-builder": "23.0.4",
"electron-builder": "23.3.3",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.1",
"enzyme-to-json": "3.3.5",

Просмотреть файл

@ -23,7 +23,7 @@ describe('getIotHubKeySaga', () => {
const params = {hubId: 'hubid', hubName: 'test'};
const authRules = [{
keyName: 'iothubowner',
primaryKey: 'key12345',
primaryKey: '',
rights: 'RegistryWrite, ServiceConnect, DeviceConnect'
}]
const sagaGenerator = cloneableGenerator(getIotHubKeySaga)(getIoTHubKeyAction.started(params));

Просмотреть файл

@ -48,7 +48,6 @@ exports[`AuthenticationSelection matches snapshot 1`] = `
}
}
onClick={[Function]}
secondaryText="authentication.autheSelection.selection.comingSoon"
>
authentication.autheSelection.selection.azureActiveDirectory
</CustomizedCompoundButton>

Просмотреть файл

@ -40,7 +40,6 @@ export const AuthenticationSelection: React.FC = () => {
iconProps={{ iconName: 'AADLogo' }}
className="auth-selection-tile"
onClick={loginViaAad}
secondaryText={t(ResourceKeys.authentication.autheSelection.selection.comingSoon)}
>
{t(ResourceKeys.authentication.autheSelection.selection.azureActiveDirectory)}
</CompoundButton>

Просмотреть файл

@ -964,8 +964,7 @@
"subText": "Choose an authentication method and connect to an Azure IoT hub",
"selection": {
"azureActiveDirectory": "Connect via Azure Active Directory",
"connectionString": "Connect via IoT Hub connection string",
"comingSoon": "Coming soon"
"connectionString": "Connect via IoT Hub connection string"
},
"switchAuthType": "Switch authentication method"
},