From 798921d50160c6f78458dc286762b31a048bb0a7 Mon Sep 17 00:00:00 2001 From: Martin Jagodic Date: Wed, 18 Oct 2023 14:23:00 +0200 Subject: [PATCH] fix: rename DecapCmsWidget --- packages/decap-cms-widget-string/src/__tests__/string.spec.js | 4 ++-- packages/decap-cms-widget-text/src/__tests__/text.spec.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/decap-cms-widget-string/src/__tests__/string.spec.js b/packages/decap-cms-widget-string/src/__tests__/string.spec.js index 06172f55e6ab..9bd884e37699 100644 --- a/packages/decap-cms-widget-string/src/__tests__/string.spec.js +++ b/packages/decap-cms-widget-string/src/__tests__/string.spec.js @@ -1,9 +1,9 @@ import React from 'react'; import { render, fireEvent } from '@testing-library/react'; -import { NetlifyCmsWidgetString } from '../'; +import { DecapCmsWidgetString } from '../'; -const StringControl = NetlifyCmsWidgetString.controlComponent; +const StringControl = DecapCmsWidgetString.controlComponent; function setup({ defaultValue } = {}) { const setActiveSpy = jest.fn(); diff --git a/packages/decap-cms-widget-text/src/__tests__/text.spec.js b/packages/decap-cms-widget-text/src/__tests__/text.spec.js index 1d1106a00557..cea48c302e6e 100644 --- a/packages/decap-cms-widget-text/src/__tests__/text.spec.js +++ b/packages/decap-cms-widget-text/src/__tests__/text.spec.js @@ -1,9 +1,9 @@ import React from 'react'; import { render, fireEvent } from '@testing-library/react'; -import { NetlifyCmsWidgetText } from '../'; +import { DecapCmsWidgetText } from '../'; -const TextControl = NetlifyCmsWidgetText.controlComponent; +const TextControl = DecapCmsWidgetText.controlComponent; function setup({ defaultValue } = {}) { const setActiveSpy = jest.fn();