@@ -71,15 +71,15 @@ suite("Arduino: Library Manager.", () => {
71
71
this . timeout ( 3 * 60 * 1000 ) ;
72
72
try {
73
73
// 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 ) => {
75
75
// check if the installation succeeds or not
76
76
const arduinoSettings = ArduinoContext . arduinoApp . settings ;
77
- const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "AzureIoTHub " ) ;
77
+ const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "FastLED " ) ;
78
78
79
79
if ( util . directoryExistsSync ( libPath ) ) {
80
80
done ( ) ;
81
81
} 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 ) ) ;
83
83
}
84
84
} ) ;
85
85
@@ -94,10 +94,10 @@ suite("Arduino: Library Manager.", () => {
94
94
try {
95
95
// Library Manager: remove extenal libarary.
96
96
const arduinoSettings = ArduinoContext . arduinoApp . settings ;
97
- const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "AzureIoTHub " ) ;
97
+ const libPath = Path . join ( arduinoSettings . sketchbookPath , "libraries" , "FastLED " ) ;
98
98
99
99
if ( util . directoryExistsSync ( libPath ) ) {
100
- ArduinoContext . arduinoApp . uninstallLibrary ( "AzureIoTHub " , libPath ) ;
100
+ ArduinoContext . arduinoApp . uninstallLibrary ( "FastLED " , libPath ) ;
101
101
assert . equal ( util . directoryExistsSync ( libPath ) , false ,
102
102
"Library path still exist after calling uninstall library,remove the library failure" ) ;
103
103
}
0 commit comments