소스 검색

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,9 +107,7 @@ describe('Commands', () => {
107 107
     });
108 108
 
109 109
     it('passProps into components', () => {
110
-      const passProps = {
111
-        fn: () => 'hello'
112
-      };
110
+      const passProps = {};
113 111
       expect(store.getPropsForComponentId('Component+UNIQUE_ID')).toEqual({});
114 112
       uut.showModal({
115 113
         component: {