소스 검색

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

Marek Lewandowski 5 년 전
부모
커밋
e83569e39c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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', () => {