Explorar el Código

Renamed examples not to use "treeView" anymore.

Piotr Jasiun hace 9 años
padre
commit
99b880c656
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2 2
      tests/_utils-tests/module__amd.js
  2. 2 2
      tests/_utils/module__amd.js

+ 2 - 2
tests/_utils-tests/module__amd.js

@@ -23,9 +23,9 @@ describe( 'amdTestUtils', () => {
 		} );
 
 		it( 'generates an absolute path from a simple path', () => {
-			const path = getModulePath( 'engine/treeview' );
+			const path = getModulePath( 'engine/dataController' );
 
-			expect( path ).to.equal( '/ckeditor5/engine/treeview.js' );
+			expect( path ).to.equal( '/ckeditor5/engine/dataController.js' );
 		} );
 
 		it( 'does not process an absolute path', () => {

+ 2 - 2
tests/_utils/module__amd.js

@@ -100,10 +100,10 @@ const utils = {
 	 * This method uses {@link #getModulePath} to process module and dependency paths so you need to use
 	 * the simplified notation.
 	 *
-	 *		const modules = amdTestUtils.require( { treeView: 'engine/treeview/treeview' } );
+	 *		const modules = amdTestUtils.require( { modelDocument: 'engine/model/document' } );
 	 *
 	 *		// Later on, inside tests:
-	 *		const TreeView = modules.treeView;
+	 *		const ModelDocument = modules.modelDocument;
 	 *
 	 * @params {Object} modules The object (`ref => modulePath`) with modules to be loaded.
 	 * @returns {Object} The object that will hold the loaded modules.