cumulocity-hellowidget-plugin
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -6,3 +6,3 @@ const _ = require('lodash'); | ||
join, | ||
dirname | ||
dirname, | ||
} = require('path'); | ||
@@ -22,4 +22,3 @@ | ||
return join(baseDir, jsFile); | ||
}) | ||
) | ||
})) | ||
.compact() | ||
@@ -40,3 +39,3 @@ .value(); | ||
'plugins/**/*.spec.js', | ||
'plugins/**/*.html' | ||
'plugins/**/*.html', | ||
], | ||
@@ -54,3 +53,3 @@ | ||
'karma-babel-preprocessor', | ||
{ 'preprocessor:c8y-pluginpath': ['factory', c8yPluginPathPreprocessor] } | ||
{ 'preprocessor:c8y-pluginpath': ['factory', c8yPluginPathPreprocessor] }, | ||
], | ||
@@ -63,3 +62,3 @@ | ||
'plugins/*/{*.js,!(vendor)/**/*.js,!(lib)/**/*.js}': ['c8y-pluginpath', 'babel'], | ||
'plugins/**/*.html': ['ng-html2js'] | ||
'plugins/**/*.html': ['ng-html2js'], | ||
}, | ||
@@ -69,8 +68,8 @@ | ||
specReporter: { | ||
maxLogLines: 5, // limit number of lines logged per test | ||
suppressErrorSummary: true, // do not print error summary | ||
suppressFailed: false, // do not print information about failed tests | ||
suppressPassed: false, // do not print information about passed tests | ||
suppressSkipped: false, // do not print information about skipped tests | ||
showSpecTiming: false // print the time elapsed for each spec | ||
maxLogLines: 5, // limit number of lines logged per test | ||
suppressErrorSummary: true, // do not print error summary | ||
suppressFailed: false, // do not print information about failed tests | ||
suppressPassed: false, // do not print information about passed tests | ||
suppressSkipped: false, // do not print information about skipped tests | ||
showSpecTiming: false, // print the time elapsed for each spec | ||
}, | ||
@@ -80,3 +79,3 @@ | ||
cacheIdFromPath: filepath => filepath.replace(/^plugins\//i, ''), | ||
moduleName: 'c8yHtml.test' | ||
moduleName: 'c8yHtml.test', | ||
}, | ||
@@ -87,4 +86,4 @@ | ||
client: { | ||
captureConsole: false | ||
} | ||
captureConsole: false, | ||
}, | ||
}); | ||
@@ -91,0 +90,0 @@ }; |
{ | ||
"name": "cumulocity-hellowidget-plugin", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A demo app for showcasing creation of a custom Cumulocity UI widget plugin", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -7,4 +7,4 @@ (function () { | ||
window.common = { | ||
globalBeforeWithUI: globalBeforeWithUI, | ||
globalBefore: globalBefore | ||
globalBeforeWithUI, | ||
globalBefore, | ||
}; | ||
@@ -20,6 +20,4 @@ | ||
/* @ngInject */ | ||
function runBlock( | ||
function runBlock($httpBackend) { | ||
$httpBackend | ||
) { | ||
$httpBackend | ||
.when('GET', /\/user\/currentUser(.*)/) | ||
@@ -57,3 +55,3 @@ .respond({}); | ||
skipSwitchingToDefaultLanguage: true, | ||
test: true | ||
test: true, | ||
}); | ||
@@ -60,0 +58,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
5425095
424