瀏覽代碼

fixed unit test

Torkel Ödegaard 6 年之前
父節點
當前提交
fdeea9144c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      public/app/features/dashboard/components/DashboardRow/DashboardRow.test.tsx

+ 1 - 0
public/app/features/dashboard/components/DashboardRow/DashboardRow.test.tsx

@@ -9,6 +9,7 @@ describe('DashboardRow', () => {
   beforeEach(() => {
   beforeEach(() => {
     dashboardMock = {
     dashboardMock = {
       toggleRow: jest.fn(),
       toggleRow: jest.fn(),
+      on: jest.fn(),
       meta: {
       meta: {
         canEdit: true,
         canEdit: true,
       },
       },