8
0
Просмотр исходного кода

Updated test package usage to its changes.

Piotrek Koszuliński 9 лет назад
Родитель
Сommit
74c7ffebf4
3 измененных файлов с 6 добавлено и 7 удалено
  1. 1 1
      .gitignore
  2. 4 5
      gulpfile.js
  3. 1 1
      package.json

+ 1 - 1
.gitignore

@@ -5,7 +5,7 @@
 # Be sure to append /** to folders to have everything inside them ignored.
 
 # All "dot directories".
-.*/**
+**/.*/**
 
 node_modules/**
 build/dist/**

+ 4 - 5
gulpfile.js

@@ -176,7 +176,7 @@ gulp.task( 'docs:editors', [ 'compile:js:esnext', 'compile:themes:esnext' ], ()
 const tests = require( '@ckeditor/ckeditor5-dev-tests' );
 
 gulp.task( 'test', () => {
-	return tests.tasks.test( getTestOptions() );
+	return tests.tasks.automated.test( getTestOptions() );
 } );
 
 // Requires compiled sources. Task should be used in parallel with `gulp compile --formats=esnext --watch`.
@@ -184,13 +184,12 @@ gulp.task( 'test:server', () => {
 	const options = getTestOptions();
 	options.sourcePath = path.resolve( config.MODULE_DIR.esnext );
 
-	return tests.tasks.runTests( options );
+	return tests.tasks.automated.runTests( options );
 } );
 
 gulp.task( 'test:manual', ( done ) => {
-	tests.tasks.manualTests.run( {
-		packages: getCKEditor5PackagesPaths(),
-		destinationPath: path.resolve( config.ROOT_DIR, '.manual' ),
+	tests.tasks.manual.run( {
+		packages: getCKEditor5PackagesPaths()
 	}, done );
 } );
 

+ 1 - 1
package.json

@@ -34,7 +34,7 @@
     "@ckeditor/ckeditor5-dev-docs": "^4.1.0",
     "@ckeditor/ckeditor5-dev-env": "^1.0.0",
     "@ckeditor/ckeditor5-dev-lint": "^1.0.1",
-    "@ckeditor/ckeditor5-dev-tests": "^2.0.0",
+    "@ckeditor/ckeditor5-dev-tests": "^3.0.0",
     "babel-polyfill": "^6.13.0",
     "benderjs": "^0.4.1",
     "benderjs-chai": "^0.2.0",