Przeglądaj źródła

Simplify test names.

Mateusz Samsel 6 lat temu
rodzic
commit
decd639563

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/data/integration.js

@@ -22,7 +22,7 @@ import { generateTests } from '../_utils/utils';
 
 const browsers = [ 'chrome', 'firefox', 'safari', 'edge' ];
 
-describe( 'Paste from Office - automatic', () => {
+describe( 'PasteFromOffice/data - automatic', () => {
 	generateTests( {
 		input: 'basic-styles',
 		type: 'integration',

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/data/normalization.js

@@ -14,7 +14,7 @@ const editorConfig = {
 	plugins: [ Clipboard, PasteFromOffice ]
 };
 
-describe( 'Paste from Office - automatic', () => {
+describe( 'PasteFromOffice/data - automatic', () => {
 	generateTests( {
 		input: 'basic-styles',
 		type: 'normalization',

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/filters/common.js

@@ -6,7 +6,7 @@
 import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 import { removeBoldTagWrapper } from '../../src/filters/common';
 
-describe( 'Paste from Office - filters', () => {
+describe( 'PasteFromOffice/filters', () => {
 	const htmlDataProcessor = new HtmlDataProcessor();
 	describe( 'common', () => {
 		describe( 'removeBoldTagWrapper', () => {

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/filters/image.js

@@ -12,7 +12,7 @@ import { parseHtml } from '../../src/filters/parse';
 import { replaceImagesSourceWithBase64, _convertHexToBase64 } from '../../src/filters/image';
 import { browserFixtures } from '../_data/image/index';
 
-describe( 'Paste from Office - filters', () => {
+describe( 'PasteFromOffice/filters', () => {
 	describe( 'image', () => {
 		let editor;
 

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/filters/list.js

@@ -9,7 +9,7 @@ import View from '@ckeditor/ckeditor5-engine/src/view/view';
 
 import { transformListItemLikeElementsIntoLists } from '../../src/filters/list';
 
-describe( 'Paste from Office - filters', () => {
+describe( 'PasteFromOffice/filters', () => {
 	describe( 'list', () => {
 		const htmlDataProcessor = new HtmlDataProcessor();
 

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/filters/parse.js

@@ -9,7 +9,7 @@ import DocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragme
 
 import { parseHtml } from '../../src/filters/parse';
 
-describe( 'Paste from Office - filters', () => {
+describe( 'PasteFromOffice/filters', () => {
 	describe( 'parse', () => {
 		describe( 'parseHtml()', () => {
 			it( 'correctly parses HTML with body and one style tag', () => {

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/filters/space.js

@@ -7,7 +7,7 @@
 
 import { normalizeSpacing, normalizeSpacerunSpans } from '../../src/filters/space';
 
-describe( 'Paste from Office - filters', () => {
+describe( 'PasteFromOffice/filters', () => {
 	describe( 'space', () => {
 		describe( 'normalizeSpacing()', () => {
 			it( 'should replace last space before closing tag with NBSP', () => {

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/pastefromoffice.js

@@ -12,7 +12,7 @@ import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/html
 import PasteFromOffice from '../src/pastefromoffice';
 import { createDataTransfer } from './_utils/utils';
 
-describe( 'Paste from Office - plugin', () => {
+describe( 'PasteFromOffice', () => {
 	let editor, content, normalizeSpy;
 
 	testUtils.createSinonSandbox();