From 5cab5754a35ef0b8276127f82eae06fd33dabe4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Wed, 24 Feb 2021 11:22:03 +0100 Subject: [PATCH] fix: fix update-variant-test --- .../variant/__tests__/update-variant-component-test.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/component/feature/variant/__tests__/update-variant-component-test.jsx b/frontend/src/component/feature/variant/__tests__/update-variant-component-test.jsx index ef6582bfd6..f82f4d146e 100644 --- a/frontend/src/component/feature/variant/__tests__/update-variant-component-test.jsx +++ b/frontend/src/component/feature/variant/__tests__/update-variant-component-test.jsx @@ -19,6 +19,7 @@ test('renders correctly with without variants', () => { removeVariant={jest.fn()} updateVariant={jest.fn()} stickinessOptions={['default']} + updateStickiness={jest.fn()} hasPermission={permission => permission === UPDATE_FEATURE} /> @@ -37,6 +38,7 @@ test('renders correctly with without variants and no permissions', () => { removeVariant={jest.fn()} updateVariant={jest.fn()} stickinessOptions={['default']} + updateStickiness={jest.fn()} hasPermission={() => false} /> @@ -94,6 +96,7 @@ test('renders correctly with with variants', () => { removeVariant={jest.fn()} updateVariant={jest.fn()} stickinessOptions={['default']} + updateStickiness={jest.fn()} hasPermission={permission => permission === UPDATE_FEATURE} />