cumulocity-hellowidget-plugin
Advanced tools
Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "cumulocity-hellowidget-plugin", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "A demo app for showcasing creation of a custom Cumulocity UI widget plugin", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -35,3 +35,25 @@ (function () { | ||
module(function ($provide) { | ||
$provide.value('info', {}); | ||
/* | ||
* Best to keep the below "magic" fake info data for unit testing purpose, | ||
* otherwise some services may not be able to be injected properly, | ||
* errors maybe thrown from the minified (cumulocity-ui-build) files, and | ||
* you don't wanna waste your time debugging the build files and will most | ||
* likely have no clue on what's going wrong. You've been warned (!) :) | ||
*/ | ||
$provide.value('info', { | ||
appKey: 'test', | ||
token: 'test', | ||
beta: 'test', | ||
appConfig: { manifest: {} }, | ||
appName: 'test', | ||
appLoadedJson: 'test', | ||
logout: 'test', | ||
hideAppEdit: 'test', | ||
baseUrl: '/', | ||
pageSize: 50, | ||
preventGetUser: true, | ||
languages: ['en'], | ||
skipSwitchingToDefaultLanguage: true, | ||
test: true | ||
}); | ||
}); | ||
@@ -38,0 +60,0 @@ module('c8y.core'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4529809
429