Browse Source

Fix externalComponent field from className to name due to fail test

Shalom Yerushalmy 6 years ago
parent
commit
7af4179c47
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/src/commands/LayoutTreeParser.test.ts

+ 1
- 1
lib/src/commands/LayoutTreeParser.test.ts View File

@@ -177,7 +177,7 @@ const singleComponent = {
177 177
 
178 178
 const externalComponent = {
179 179
   externalComponent: {
180
-    className: 'MyReactComponent',
180
+    name: 'MyReactComponent',
181 181
     options,
182 182
     passProps
183 183
   }