Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 8618 reduce enzyme usage in unit test by 25 #11658

Open
wants to merge 127 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
298588c
fixed some of the tests
Daniel-Cross Sep 19, 2024
94601f0
fix: notification permission flow (#11266)
Jonathansoufer Sep 19, 2024
5fef9c9
feat: reject connection properly (#11314)
abretonc7s Sep 19, 2024
61fc2d6
Feat/notifications add analytics (#11285)
matteoscurati Sep 19, 2024
a53ac4c
rewrote some tests
Daniel-Cross Sep 20, 2024
2d1c226
fixed all but one test
Daniel-Cross Sep 20, 2024
8d4788a
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 23, 2024
c90dbfb
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 23, 2024
409b196
fixed engine file with more tests
Daniel-Cross Sep 23, 2024
e3479ee
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 25, 2024
3106287
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 25, 2024
436ad9a
reverted project file
Daniel-Cross Sep 25, 2024
ea115e1
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 25, 2024
9f82e4e
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 25, 2024
ed94ed7
updated main nav file
Daniel-Cross Sep 25, 2024
114c864
updated some test files
Daniel-Cross Sep 25, 2024
48a7f57
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 26, 2024
d7782ce
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 26, 2024
cfb9bdc
ts nocheck on ts file that checks a js file
Daniel-Cross Sep 26, 2024
b393f9c
fixed notification tests
Daniel-Cross Sep 26, 2024
9c92a80
updated some tests
Daniel-Cross Sep 26, 2024
afe41ee
reverted mainnavigator test
Daniel-Cross Sep 26, 2024
fa60ebe
rewriting the transactions view component
Daniel-Cross Sep 26, 2024
6ab9200
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 26, 2024
7ba2b21
fixed ts issues in transactionview
Daniel-Cross Sep 26, 2024
59a89b3
updated test
Daniel-Cross Sep 26, 2024
056ac7c
fixed linting issues
Daniel-Cross Sep 26, 2024
ee16e7a
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 27, 2024
0bfcce8
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 27, 2024
5051bbc
rmeoved test
Daniel-Cross Sep 27, 2024
9da98ab
revert project file
Daniel-Cross Sep 27, 2024
38a3ad5
removed unused variables
Daniel-Cross Sep 27, 2024
be4c642
cleaned up function
Daniel-Cross Sep 27, 2024
092744a
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Sep 30, 2024
c6f92e4
updated engine test
Daniel-Cross Sep 30, 2024
a977403
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 1, 2024
60a1d91
removed unused imports to pass linter
Daniel-Cross Oct 1, 2024
24def83
removed swaptransactions
Daniel-Cross Oct 1, 2024
dd680f5
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 1, 2024
941cdab
added new empty line at end of file
Daniel-Cross Oct 1, 2024
ee7f5a5
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 1, 2024
29e1e7d
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 1, 2024
5caa0d2
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 2, 2024
b3588e4
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 2, 2024
6732833
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 2, 2024
086c679
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 3, 2024
943936e
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 4, 2024
99e095b
fixed linting issues
Daniel-Cross Oct 6, 2024
df20b5d
fixed some tests
Daniel-Cross Oct 7, 2024
285c366
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 7, 2024
dd6e325
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 7, 2024
6d1049e
fixed renderOptions
Daniel-Cross Oct 7, 2024
b48d8ab
changed from function to variable
Daniel-Cross Oct 7, 2024
acd3c02
updated snapshot
Daniel-Cross Oct 7, 2024
f94813d
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 7, 2024
e9b46cb
fixed ramproutes
Daniel-Cross Oct 7, 2024
16a66fb
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 8, 2024
5da57d5
reducing duplicate code
Daniel-Cross Oct 8, 2024
6765347
removed unused imports
Daniel-Cross Oct 8, 2024
0d25e66
moved styles out of file
Daniel-Cross Oct 8, 2024
1d242a2
changed import
Daniel-Cross Oct 8, 2024
d4f239a
added color type
Daniel-Cross Oct 8, 2024
9e43277
fixed imports
Daniel-Cross Oct 8, 2024
2992bbc
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 8, 2024
784d47c
fixed styles
Daniel-Cross Oct 8, 2024
74691cb
updated snapshot
Daniel-Cross Oct 8, 2024
f51849d
asking sonar to skip duplicate code check
Daniel-Cross Oct 8, 2024
12faa5c
removed duplicate styles
Daniel-Cross Oct 8, 2024
d4c4a96
fixed imports
Daniel-Cross Oct 8, 2024
2eadee7
added shared styles
Daniel-Cross Oct 8, 2024
59c198c
added styles to exclusion list
Daniel-Cross Oct 8, 2024
2fc8eca
added a sonar rule that does not check js files that have ts parents
Daniel-Cross Oct 8, 2024
077f422
fixed duplicate code
Daniel-Cross Oct 8, 2024
caf7196
revert gasfee file
Daniel-Cross Oct 8, 2024
9dc0782
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 8, 2024
b81f8b1
removed utils file
Daniel-Cross Oct 8, 2024
d89248a
reverted two files
Daniel-Cross Oct 8, 2024
cc0b7a6
fixed filepath
Daniel-Cross Oct 8, 2024
21c6d97
fixed import
Daniel-Cross Oct 8, 2024
45b1f27
updated snapshot
Daniel-Cross Oct 8, 2024
f336f5f
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 8, 2024
dd8b1cd
updated sonar cloud to not check styles files
Daniel-Cross Oct 8, 2024
18f73ab
reverted some of the lint fixes
Daniel-Cross Oct 8, 2024
bcd681e
revert sonar file
Daniel-Cross Oct 8, 2024
e750c08
Merge branch 'main' into 8618-reduce-enzyme-usage-in-unit-test-by-25-…
Daniel-Cross Oct 8, 2024
4e3643c
Merge branch '8618-reduce-enzyme-usage-in-unit-test-by-25---3-of-3' i…
Daniel-Cross Oct 8, 2024
3547f44
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 9, 2024
65df463
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 10, 2024
c5f0452
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 10, 2024
cbad96f
feat: add references and utils for delete storage key (#11733)
Jonathansoufer Oct 10, 2024
e240589
fix: connect request completed source validation (#11701)
elefantel Oct 10, 2024
2873a0a
chore(js-ts): Convert app/components/UI/StyledButton/styledButtonStyl…
devin-ai-integration[bot] Oct 10, 2024
42fddc0
chore(js-ts): Convert app/components/UI/Fox/index.js to TypeScript (#…
devin-ai-integration[bot] Oct 10, 2024
6436ceb
chore(js-ts): Convert app/util/test/ganache-contract-address-registry…
devin-ai-integration[bot] Oct 10, 2024
85820e5
chore(js-ts): Convert app/components/UI/Swaps/components/InfoModal.js…
devin-ai-integration[bot] Oct 10, 2024
7489d0b
chore(js-ts): Convert app/components/Base/HorizontalSelector/index.js…
devin-ai-integration[bot] Oct 10, 2024
bf80293
chore(js-ts): Convert app/util/transaction-reducer-helpers.js to Type…
devin-ai-integration[bot] Oct 10, 2024
237b137
chore: Revert "chore(js-ts): Convert app/util/test/ganache-contract-a…
kylanhurt Oct 10, 2024
78747c8
chore(js-ts): Convert app/components/Views/AndroidBackHandler/index.j…
devin-ai-integration[bot] Oct 10, 2024
63a2b1d
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 11, 2024
a252c2d
resolved conflicts
Daniel-Cross Oct 14, 2024
698cdae
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 14, 2024
d2008ba
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 14, 2024
9aa417d
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 14, 2024
2b6e6b6
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 16, 2024
bd5387b
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 16, 2024
5fbe668
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 17, 2024
4f39ef0
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 17, 2024
f8f8c43
changed some files
Daniel-Cross Oct 18, 2024
f7ce6fd
fixed cinflicts
Daniel-Cross Oct 21, 2024
b754942
added tests back
Daniel-Cross Oct 21, 2024
c02ccd4
updated snapshot
Daniel-Cross Oct 21, 2024
8eb4852
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 21, 2024
d45e91c
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 22, 2024
62b8865
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 22, 2024
63cab5e
resolved conflicts
Daniel-Cross Oct 22, 2024
e9b601f
fixed linting issues and removed unused comment
Daniel-Cross Oct 22, 2024
c51f688
merged conflicts
Daniel-Cross Oct 22, 2024
5a83e43
added mocked accounts
Daniel-Cross Oct 22, 2024
0090f3a
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 22, 2024
863d258
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 23, 2024
f43dbd0
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 23, 2024
6003c40
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 23, 2024
4f50054
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 23, 2024
07e44d5
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 23, 2024
566f228
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 23, 2024
574b5e2
Merge branch 'main' into chore-8618-reduce-enzyme-usage-in-unit-test-…
Daniel-Cross Oct 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/actions/onboarding/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ interface ClearEventsAction {

export type OnboardingActionTypes = SaveEventAction | ClearEventsAction;

export function saveOnboardingEvent(eventArgs: [IMetaMetricsEvent]): SaveEventAction {
export function saveOnboardingEvent(
eventArgs: [IMetaMetricsEvent],
): SaveEventAction {
return {
type: SAVE_EVENT,
event: eventArgs,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Third party dependencies.
import React from 'react';
import { shallow } from 'enzyme';
import { render } from '@testing-library/react-native';

// External dependencies.
import AvatarIcon from './AvatarIcon';
Expand All @@ -10,7 +10,7 @@ import { SAMPLE_AVATARICON_PROPS } from './AvatarIcon.constants';

describe('AvatarIcon', () => {
it('should render correctly', () => {
const wrapper = shallow(<AvatarIcon {...SAMPLE_AVATARICON_PROPS} />);
expect(wrapper).toMatchSnapshot();
const { toJSON } = render(<AvatarIcon {...SAMPLE_AVATARICON_PROPS} />);
expect(toJSON()).toMatchSnapshot();
});
});
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`AvatarIcon should render correctly 1`] = `
<AvatarBase
size="32"
<View
style={
{
"alignItems": "center",
"backgroundColor": "#ffffff",
"borderRadius": 16,
"height": 32,
"justifyContent": "center",
"overflow": "hidden",
"width": 32,
}
}
>
<Icon
color="Default"
<SvgMock
color="#141618"
height={20}
name="AddSquare"
size="20"
style={
{
"height": 20,
"width": 20,
}
}
width={20}
/>
</AvatarBase>
</View>
`;
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
// Third party dependencies.
import React from 'react';
import { shallow } from 'enzyme';
import { render, screen } from '@testing-library/react-native';

// Internal dependencies.
import ButtonLink from './ButtonLink';

describe('Link', () => {
describe('ButtonLink', () => {
it('should render correctly', () => {
const wrapper = shallow(
<ButtonLink onPress={jest.fn} label={`I'm a Link!`} />,
);
expect(wrapper).toMatchSnapshot();
render(<ButtonLink onPress={jest.fn()} label="I'm a Link!" />);
expect(screen.toJSON()).toMatchSnapshot();
});
});
Original file line number Diff line number Diff line change
@@ -1,27 +1,39 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Link should render correctly 1`] = `
<Fragment>
exports[`ButtonLink should render correctly 1`] = `
<Text
accessibilityRole="link"
accessible={true}
onPress={[MockFunction]}
onPressIn={[Function]}
onPressOut={[Function]}
style={
{
"backgroundColor": "transparent",
"color": "#141618",
"fontFamily": "EuclidCircularB-Regular",
"fontSize": 14,
"fontWeight": "400",
"letterSpacing": 0,
"lineHeight": 22,
}
}
suppressHighlighting={true}
>
<Text
accessibilityRole="link"
accessible={true}
onPress={[Function]}
onPressIn={[Function]}
onPressOut={[Function]}
accessibilityRole="text"
style={
{
"backgroundColor": "transparent",
"color": "#0376c9",
"fontFamily": "EuclidCircularB-Regular",
"fontSize": 14,
"fontWeight": "400",
"letterSpacing": 0,
"lineHeight": 22,
}
}
suppressHighlighting={true}
>
<Text
color="Primary"
style={false}
variant="sBodyMD"
>
I'm a Link!
</Text>
I'm a Link!
</Text>
</Fragment>
</Text>
`;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { shallow } from 'enzyme';
import { render } from '@testing-library/react-native';
import ApprovalModal from './ApprovalModal';

describe('ApprovalModal', () => {
Expand All @@ -8,11 +8,11 @@ describe('ApprovalModal', () => {
});

it('renders', () => {
const wrapper = shallow(
const { toJSON } = render(
<ApprovalModal isVisible onCancel={() => undefined}>
<div>test</div>
</ApprovalModal>,
);
expect(wrapper).toMatchSnapshot();
expect(toJSON()).toMatchSnapshot();
});
});
Original file line number Diff line number Diff line change
@@ -1,43 +1,24 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ApprovalModal renders 1`] = `
<ReactNativeModal
animationIn="slideInUp"
animationInTiming={600}
animationOut="slideOutDown"
animationOutTiming={600}
avoidKeyboard={false}
backdropColor="#00000099"
backdropOpacity={1}
backdropTransitionInTiming={300}
backdropTransitionOutTiming={300}
coverScreen={true}
customBackdrop={null}
<Modal
animationType="none"
deviceHeight={null}
deviceWidth={null}
hasBackdrop={true}
hardwareAccelerated={false}
hideModalContentWhileAnimating={false}
isVisible={true}
onBackButtonPress={[Function]}
onBackdropPress={[Function]}
onModalHide={[Function]}
onModalShow={[Function]}
onModalWillHide={[Function]}
onModalWillShow={[Function]}
onRequestClose={[Function]}
onSwipeComplete={[Function]}
panResponderThreshold={4}
propagateSwipe={true}
scrollHorizontal={false}
scrollOffset={0}
scrollOffsetMax={0}
scrollTo={null}
statusBarTranslucent={false}
style={
{
"justifyContent": "flex-end",
"margin": 0,
}
}
supportedOrientations={
[
"portrait",
Expand All @@ -46,10 +27,98 @@ exports[`ApprovalModal renders 1`] = `
}
swipeDirection="down"
swipeThreshold={100}
useNativeDriver={false}
transparent={true}
visible={true}
>
<div>
test
</div>
</ReactNativeModal>
<View
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onClick={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"backgroundColor": "#00000099",
"bottom": 0,
"height": 1334,
"left": 0,
"opacity": 0,
"position": "absolute",
"right": 0,
"top": 0,
"width": 750,
}
}
/>
<View
collapsable={false}
deviceHeight={null}
deviceWidth={null}
hideModalContentWhileAnimating={false}
onBackdropPress={[Function]}
onModalHide={[Function]}
onModalWillHide={[Function]}
onModalWillShow={[Function]}
onMoveShouldSetResponder={[Function]}
onMoveShouldSetResponderCapture={[Function]}
onResponderEnd={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderReject={[Function]}
onResponderRelease={[Function]}
onResponderStart={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
onStartShouldSetResponderCapture={[Function]}
onSwipeComplete={[Function]}
panResponderThreshold={4}
pointerEvents="box-none"
scrollHorizontal={false}
scrollOffset={0}
scrollOffsetMax={0}
scrollTo={null}
statusBarTranslucent={false}
style={
{
"flex": 1,
"justifyContent": "flex-end",
"left": 0,
"margin": 0,
"top": 0,
"transform": [
{
"translateY": 1334,
},
],
}
}
supportedOrientations={
[
"portrait",
"landscape",
]
}
swipeDirection="down"
swipeThreshold={100}
>
<div>
test
</div>
</View>
</Modal>
`;
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`AnimatedTransactionModal should render correctly 1`] = `
<ForwardRef
<View
collapsable={false}
onLayout={[Function]}
style={
[
{
"backgroundColor": "#ffffff",
"borderTopLeftRadius": 20,
"borderTopRightRadius": 20,
"minHeight": 200,
"paddingBottom": 24,
},
{
"transform": [
{
"translateY": 70,
},
],
},
{
"height": 470,
},
]
{
"backgroundColor": "white",
"borderTopLeftRadius": 20,
"borderTopRightRadius": 20,
"height": 470,
"minHeight": 200,
"paddingBottom": 24,
"transform": [
{
"translateY": 70,
},
],
}
}
/>
`;
20 changes: 14 additions & 6 deletions app/components/UI/AnimatedTransactionModal/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
import React from 'react';
import { shallow } from 'enzyme';
import { render, screen } from '@testing-library/react-native';
import AnimatedTransactionModal from './';
import { View } from 'react-native';
import { ThemeContext } from '../../../util/theme';

const mockTheme = {
colors: { background: { default: 'white' } },
themeAppearance: 'light',
};

describe('AnimatedTransactionModal', () => {
it('should render correctly', () => {
const wrapper = shallow(
<AnimatedTransactionModal>
<View />
</AnimatedTransactionModal>,
render(
<ThemeContext.Provider value={mockTheme}>
<AnimatedTransactionModal>
<View />
</AnimatedTransactionModal>
</ThemeContext.Provider>,
);
expect(wrapper).toMatchSnapshot();
expect(screen.toJSON()).toMatchSnapshot();
});
});
Loading
Loading