File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,8 @@ func.defaultConfig = {
173
173
// base path that will be used to resolve all patterns (eg. files, exclude)
174
174
basePath : constants . pathToRoot ,
175
175
176
+ // frameworks to use
177
+ // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
176
178
frameworks : [ 'jasmine' , 'jasmine-spec-tags' , 'viewport' ] ,
177
179
178
180
plugins : [
@@ -319,13 +321,8 @@ func.defaultConfig.preprocessors[pathToCustomMatchers] = ['esbuild'];
319
321
func . defaultConfig . preprocessors [ testFileGlob ] = [ 'esbuild' ] ;
320
322
321
323
if ( isBundleTest ) {
322
- switch ( basename ( testFileGlob ) ) {
323
- case 'minified_bundle' :
324
- func . defaultConfig . files . push ( constants . pathToPlotlyBuildMin ) ;
325
- break ;
326
- case 'plotschema' :
327
- // no tasks/compress_attributes in this case
328
- break ;
324
+ if ( basename ( testFileGlob ) === 'minified_bundle' ) {
325
+ func . defaultConfig . files . push ( constants . pathToPlotlyBuildMin ) ;
329
326
}
330
327
} else {
331
328
func . defaultConfig . files . push ( pathToJQuery ) ;
You can’t perform that action at this time.
0 commit comments