diff --git a/packages/components/test/Field.spec.tsx b/packages/components/test/Field.spec.tsx index ac1ee2643..f773297ae 100644 --- a/packages/components/test/Field.spec.tsx +++ b/packages/components/test/Field.spec.tsx @@ -4,7 +4,7 @@ import React from 'react' import { renderJSON } from '@theme-ui/test-utils' -import { ThemeProvider } from 'theme-ui' +import { ThemeUIProvider } from 'theme-ui' import { Field } from '..' @@ -13,25 +13,25 @@ import { theme } from './__test-utils__' describe('Field', () => { test('renders', () => { const json = renderJSON( - + - + ) expect(json).toMatchSnapshot() }) test('renders with id prop', () => { const json = renderJSON( - + - + ) expect(json).toMatchSnapshot() }) test('containerSx and sx', () => { const json = renderJSON( - + - + ) expect(json).toMatchSnapshot() }) diff --git a/packages/components/test/index.tsx b/packages/components/test/index.tsx index b60e10486..339d5deb7 100644 --- a/packages/components/test/index.tsx +++ b/packages/components/test/index.tsx @@ -312,9 +312,9 @@ describe('Divider', () => { describe('Embed', () => { test('renders with box system props', () => { const json = renderJSON( - + - + ) expect(json).toMatchSnapshot() })