浏览代码

Remove fn() from command test unused function

Shalom Yerushalmy 7 年前
父节点
当前提交
1e99e8dc15
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      lib/src/commands/Commands.test.ts

+ 1
- 3
lib/src/commands/Commands.test.ts 查看文件

107
     });
107
     });
108
 
108
 
109
     it('passProps into components', () => {
109
     it('passProps into components', () => {
110
-      const passProps = {
111
-        fn: () => 'hello'
112
-      };
110
+      const passProps = {};
113
       expect(store.getPropsForComponentId('Component+UNIQUE_ID')).toEqual({});
111
       expect(store.getPropsForComponentId('Component+UNIQUE_ID')).toEqual({});
114
       uut.showModal({
112
       uut.showModal({
115
         component: {
113
         component: {