@@ -71,15 +71,15 @@ suite("Arduino: Library Manager.", () => {
7171 this . timeout ( 3 * 60 * 1000 ) ;
7272 try {
7373 // Library Manager: Install extenal libarary.
74- ArduinoContext . arduinoApp . installLibrary ( "AzureIoTHub " , "1.0.35 " , true ) . then ( ( result ) => {
74+ ArduinoContext . arduinoApp . installLibrary ( "FastLED " , "3.5.0 " , true ) . then ( ( result ) => {
7575 // check if the installation succeeds or not
7676 const arduinoSettings = ArduinoContext . arduinoApp . settings ;
77- const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "AzureIoTHub " ) ;
77+ const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "FastLED " ) ;
7878
7979 if ( util . directoryExistsSync ( libPath ) ) {
8080 done ( ) ;
8181 } else {
82- done ( new Error ( "AzureIoTHub library install failure, can't find library path: " + libPath ) ) ;
82+ done ( new Error ( "FastLED library install failure, can't find library path: " + libPath ) ) ;
8383 }
8484 } ) ;
8585
@@ -94,10 +94,10 @@ suite("Arduino: Library Manager.", () => {
9494 try {
9595 // Library Manager: remove extenal libarary.
9696 const arduinoSettings = ArduinoContext . arduinoApp . settings ;
97- const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "AzureIoTHub " ) ;
97+ const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "FastLED " ) ;
9898
9999 if ( util . directoryExistsSync ( libPath ) ) {
100- ArduinoContext . arduinoApp . uninstallLibrary ( "AzureIoTHub " , libPath ) ;
100+ ArduinoContext . arduinoApp . uninstallLibrary ( "FastLED " , libPath ) ;
101101 assert . equal ( util . directoryExistsSync ( libPath ) , false ,
102102 "Library path still exist after calling uninstall library,remove the library failure" ) ;
103103 }
0 commit comments