diff --git a/src/components/CustomRegisterField/CustomRegisterField.test.tsx b/src/components/CustomRegisterField/CustomRegisterField.test.tsx new file mode 100644 index 000000000..9917a70bc --- /dev/null +++ b/src/components/CustomRegisterField/CustomRegisterField.test.tsx @@ -0,0 +1,59 @@ +import React from 'react'; +import { render } from '@testing-library/react'; + +import CustomRegisterField from './CustomRegisterField'; + +import { ConsentFieldVariants } from '#src/services/inplayer.account.service'; + +describe('', () => { + test('renders and matches snapshot ', () => { + const { container } = render(); + + expect(container).toMatchSnapshot(); + }); + + test('renders and matches snapshot ', () => { + const { container } = render(); + + expect(container).toMatchSnapshot(); + }); + + test('renders and matches snapshot ', () => { + const { container } = render(); + + expect(container).toMatchSnapshot(); + }); + + test('renders and matches snapshot ', () => { + const { container } = render(); + + expect(container).toMatchSnapshot(); + }); + + test('renders and matches snapshot ', () => { + const { container } = render(); + + expect(container).toMatchSnapshot(); + }); + + test('renders and matches snapshot ', () => { + const { container } = render( + , + ); + + expect(container).toMatchSnapshot(); + }); + + test('renders and matches snapshot ', () => { + const { container } = render(); + + expect(container).toMatchSnapshot(); + }); + + test('renders and matches snapshot ', () => { + // @ts-ignore + const { container } = render(); + + expect(container).toMatchSnapshot(); + }); +}); diff --git a/src/components/CustomRegisterField/__snapshots__/CustomRegisterField.test.tsx.snap b/src/components/CustomRegisterField/__snapshots__/CustomRegisterField.test.tsx.snap new file mode 100644 index 000000000..4642f70bf --- /dev/null +++ b/src/components/CustomRegisterField/__snapshots__/CustomRegisterField.test.tsx.snap @@ -0,0 +1,2008 @@ +// Vitest Snapshot v1 + +exports[` > renders and matches snapshot 1`] = ` +
+
+
+ + +
+
+
+`; + +exports[` > renders and matches snapshot 1`] = ` +
+
+ +
+ +
+
+
+`; + +exports[` > renders and matches snapshot 1`] = `
`; + +exports[` > renders and matches snapshot 1`] = `
`; + +exports[` > renders and matches snapshot 1`] = ` +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+`; + +exports[` > renders and matches snapshot 1`] = ` +
+
+
+ label + + optional + +
+
+
+`; + +exports[` > renders and matches snapshot 1`] = ` +
+
+ +
+ +
+
+
+`;