Преглед на файлове

Tests: Used nested objects instead of short strings.

Kamil Piechaczek преди 8 години
родител
ревизия
c3be53ad45
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      packages/ckeditor5-core/tests/editor/editor.js

+ 4 - 2
packages/ckeditor5-core/tests/editor/editor.js

@@ -69,8 +69,10 @@ describe( 'Editor', () => {
 		it( 'should extend an editor configuration using built in config', () => {
 			Editor.build = {
 				config: {
-					'foo.a': 1,
-					'foo.b': 2
+					foo: {
+						a: 1,
+						b: 2
+					}
 				}
 			};