@@ -265,7 +265,7 @@ describe("previewAppPluginsService", () => {
265265 describe ( "comparePluginsOnDevice with bundle" , ( ) => {
266266 const testCases = [
267267 {
268- name : "should show warning for non nativescript plugin that has lower major version" ,
268+ name : "should not show warning for non nativescript plugin that has lower major version" ,
269269 localPlugins : {
270270 lodash : "1.2.3"
271271 } ,
@@ -274,12 +274,10 @@ describe("previewAppPluginsService", () => {
274274 } ,
275275 isNativeScriptPlugin : false ,
276276 hasPluginNativeCode : false ,
277- expectedWarnings : [
278- util . format ( PluginComparisonMessages . LOCAL_PLUGIN_WITH_DIFFERENCE_IN_MAJOR_VERSION , "lodash" , "1.2.3" , "2.3.3" )
279- ]
277+ expectedWarnings : < string [ ] > [ ]
280278 } ,
281279 {
282- name : "should show warning for non nativescript plugin that has greather major version" ,
280+ name : "should not show warning for non nativescript plugin that has greather major version" ,
283281 localPlugins : {
284282 lodash : "3.2.3"
285283 } ,
@@ -288,9 +286,7 @@ describe("previewAppPluginsService", () => {
288286 } ,
289287 isNativeScriptPlugin : false ,
290288 hasPluginNativeCode : false ,
291- expectedWarnings : [
292- util . format ( PluginComparisonMessages . LOCAL_PLUGIN_WITH_DIFFERENCE_IN_MAJOR_VERSION , "lodash" , "3.2.3" , "2.3.3" )
293- ]
289+ expectedWarnings : [ ]
294290 } ,
295291 {
296292 name : "should show warning for non nativescript plugin that has greather minor version" ,
@@ -302,9 +298,7 @@ describe("previewAppPluginsService", () => {
302298 } ,
303299 isNativeScriptPlugin : false ,
304300 hasPluginNativeCode : false ,
305- expectedWarnings : [
306- util . format ( PluginComparisonMessages . LOCAL_PLUGIN_WITH_GREATHER_MINOR_VERSION , "lodash" , "3.4.5" , "3.3.0" )
307- ]
301+ expectedWarnings : [ ]
308302 } ,
309303 {
310304 name : "should not show warning for non nativescript plugin that has the same version" ,
0 commit comments