This repository was archived by the owner on Mar 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ describe("generator-biojs-webcomponents:app - Upgrade an existing component by i
128
128
. directoryName ( "component-dist" )
129
129
. then ( ( ) => assert . file ( [ "test-component/component-dist" ] ) ) ;
130
130
} ) ;
131
- it ( "imports the build file" , async ( ) => {
131
+ it ( "imports the build file locally " , async ( ) => {
132
132
await validators
133
133
. importBuildFileLocally (
134
134
path . join ( __dirname , "../generators/app/validator.js" )
@@ -159,8 +159,9 @@ describe("generator-biojs-webcomponents:app - Upgrade an existing component by i
159
159
160
160
describe ( "generator-biojs-webcomponents:app - Upgrade an existing component by installing component from npm package" , ( ) => {
161
161
it ( "installs the latest component from its npm package if user enters a valid version" , async ( ) => {
162
+ jest . setTimeout ( 10000 ) ; // Increases timeout for this test
162
163
let res = await validators . checkVersionAndInstallComponent ( "latest" , {
163
- packageNameToInstallComponent : "http-server "
164
+ packageNameToInstallComponent : "is-odd "
164
165
} ) ;
165
166
assert . equal ( res , true ) ;
166
167
} ) ;
You can’t perform that action at this time.
0 commit comments