Parcourir la source

Tests: Used fully objects instead of shorter strings.

Kamil Piechaczek il y a 8 ans
Parent
commit
bf9e9bdafa
1 fichiers modifiés avec 9 ajouts et 3 suppressions
  1. 9 3
      packages/ckeditor5-utils/tests/config.js

+ 9 - 3
packages/ckeditor5-utils/tests/config.js

@@ -74,12 +74,18 @@ describe( 'Config', () => {
 					first: 1,
 					second: 2
 				},
-				'b.foo.first': 1,
-				'b.foo.second': 2
+				b: {
+					foo: {
+						first: 1,
+						second: 2,
+					}
+				}
 			};
 
 			const parameters = {
-				'a.third': 3,
+				a: {
+					third: 3
+				},
 				b: {
 					foo: {
 						first: 3,