Explorar el Código

Tests (link): Adjusted tests to also expect AutoLink plugin to be added.

Marek Lewandowski hace 5 años
padre
commit
e83569e39c
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      packages/ckeditor5-link/tests/link.js

+ 3 - 2
packages/ckeditor5-link/tests/link.js

@@ -4,12 +4,13 @@
  */
 
 import Link from '../src/link';
+import AutoLink from '../src/autolink';
 import LinkEditing from '../src/linkediting';
 import LinkUI from '../src/linkui';
 
 describe( 'Link', () => {
-	it( 'should require LinkEditing and LinkUI', () => {
-		expect( Link.requires ).to.deep.equal( [ LinkEditing, LinkUI ] );
+	it( 'should require LinkEditing, LinkUI and AutoLink', () => {
+		expect( Link.requires ).to.deep.equal( [ LinkEditing, LinkUI, AutoLink ] );
 	} );
 
 	it( 'should be named', () => {