diff --git a/packages/dnb-eufemia/src/extensions/forms/Field/Toggle/__tests__/Toggle.test.tsx b/packages/dnb-eufemia/src/extensions/forms/Field/Toggle/__tests__/Toggle.test.tsx new file mode 100644 index 00000000000..1501fbb4bb5 --- /dev/null +++ b/packages/dnb-eufemia/src/extensions/forms/Field/Toggle/__tests__/Toggle.test.tsx @@ -0,0 +1,10 @@ +import React from 'react' +import { render } from '@testing-library/react' +import Toggle, { Props } from '..' + +describe('Field.Toggle', () => { + it('should render with props', () => { + const props: Props = { valueOn: 'checked', valueOff: 'unchecked' } + render() + }) +})