Sfoglia il codice sorgente

Made the tests use the default editor theme.

Aleksander Nowodzinski 8 anni fa
parent
commit
1724e5fa8f
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      gulpfile.js

+ 6 - 1
gulpfile.js

@@ -23,8 +23,13 @@ gulp.task( 'test:manual', () => {
 } );
 
 function getTestOptions() {
-	return require( '@ckeditor/ckeditor5-dev-tests' )
+	const options = require( '@ckeditor/ckeditor5-dev-tests' )
 		.parseArguments( process.argv.slice( 2 ) );
+
+	// "Lark" is the default theme for tests.
+	options.themePath = path.resolve( __dirname, 'packages/ckeditor5-theme-lark' );
+
+	return options;
 }
 
 // Documentation. -------------------------------------------------------------