@@ -84,7 +84,7 @@ console.log('-- Target bundler: ' + targetBundler);
8484const transpilers = [ 'babel' , 'typescript' ] ;
8585const cssModes = [ '' , 'shadow-dom-open' , 'shadow-dom-closed' , 'css-module' ] ;
8686const cssProcessors = [ 'css' , 'sass' , 'less' ] ;
87- const testFrameworks = [ 'jasmine' , 'tape' , 'mocha' ] ;
87+ const testFrameworks = [ 'jasmine' , 'tape' , 'mocha' , 'no-unit-tests' ] ;
8888const e2eFrameworks = [ 'cypress' ] ;
8989
9090function getServerRegex ( features ) {
@@ -119,6 +119,7 @@ skeletons.forEach((features, i) => {
119119 const title = `App: ${ i + 1 } /${ skeletons . length } ${ appName } ` ;
120120 const serverRegex = getServerRegex ( features ) ;
121121 const startCommand = getStartCommand ( features ) ;
122+ const hasUnitTests = ! features . includes ( 'no-unit-tests' ) ;
122123
123124 test . serial ( title , async t => {
124125 console . log ( title ) ;
@@ -132,8 +133,10 @@ skeletons.forEach((features, i) => {
132133 console . log ( '-- yarn install' ) ;
133134 await run ( 'yarn install' ) ;
134135
135- console . log ( '-- npm test' ) ;
136- await run ( 'npm test' ) ;
136+ if ( hasUnitTests ) {
137+ console . log ( '-- npm test' ) ;
138+ await run ( 'npm test' ) ;
139+ }
137140
138141 console . log ( '-- npm run build' ) ;
139142 await run ( 'npm run build' , null ,
0 commit comments