@@ -265,7 +265,7 @@ describe("previewAppPluginsService", () => {
265
265
describe ( "comparePluginsOnDevice with bundle" , ( ) => {
266
266
const testCases = [
267
267
{
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" ,
269
269
localPlugins : {
270
270
lodash : "1.2.3"
271
271
} ,
@@ -274,12 +274,10 @@ describe("previewAppPluginsService", () => {
274
274
} ,
275
275
isNativeScriptPlugin : false ,
276
276
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 [ ] > [ ]
280
278
} ,
281
279
{
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" ,
283
281
localPlugins : {
284
282
lodash : "3.2.3"
285
283
} ,
@@ -288,9 +286,7 @@ describe("previewAppPluginsService", () => {
288
286
} ,
289
287
isNativeScriptPlugin : false ,
290
288
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 : [ ]
294
290
} ,
295
291
{
296
292
name : "should show warning for non nativescript plugin that has greather minor version" ,
@@ -302,9 +298,7 @@ describe("previewAppPluginsService", () => {
302
298
} ,
303
299
isNativeScriptPlugin : false ,
304
300
hasPluginNativeCode : false ,
305
- expectedWarnings : [
306
- util . format ( PluginComparisonMessages . LOCAL_PLUGIN_WITH_GREATHER_MINOR_VERSION , "lodash" , "3.4.5" , "3.3.0" )
307
- ]
301
+ expectedWarnings : [ ]
308
302
} ,
309
303
{
310
304
name : "should not show warning for non nativescript plugin that has the same version" ,
0 commit comments