Skip to content

Commit d4ba66f

Browse files
committed
chore: update snapshots
1 parent 55ee61a commit d4ba66f

4 files changed

Lines changed: 30 additions & 6 deletions

File tree

packages/pluggableWidgets/barcode-scanner-native/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"dependencies": {
2222
"@mendix/piw-native-utils-internal": "*",
2323
"@mendix/piw-utils-internal": "*",
24-
"deprecated-react-native-prop-types": "^4.0.0",
2524
"react-native-barcode-mask": "^1.2.4",
2625
"react-native-vision-camera": "4.7.1"
2726
},

packages/pluggableWidgets/barcode-scanner-native/src/__tests__/BarcodeScanner.spec.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// __tests__/BarcodeScanner.spec.tsx
12
import { actionValue, EditableValueBuilder } from "@mendix/piw-utils-internal";
23
import { createElement } from "react";
34
import { View } from "react-native";

packages/pluggableWidgets/barcode-scanner-native/src/__tests__/__snapshots__/BarcodeScanner.spec.tsx.snap

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,18 @@ exports[`BarcodeScanner renders 1`] = `
1111
}
1212
>
1313
<View
14+
audio={false}
15+
codeScanner={[MockFunction]}
16+
device="mock-device"
17+
isActive={true}
1418
style={
1519
{
1620
"alignItems": "center",
1721
"flex": 1,
1822
"justifyContent": "center",
1923
}
2024
}
25+
testID="barcode-scanner-test"
2126
/>
2227
</View>
2328
`;
@@ -33,14 +38,25 @@ exports[`BarcodeScanner renders with mask 1`] = `
3338
}
3439
>
3540
<View
41+
audio={false}
42+
codeScanner={[MockFunction]}
43+
device="mock-device"
44+
isActive={true}
3645
style={
3746
{
3847
"alignItems": "center",
3948
"flex": 1,
4049
"justifyContent": "center",
4150
}
4251
}
43-
/>
52+
testID="barcode-scanner-test"
53+
>
54+
<BarcodeMask
55+
backgroundColor="rgba(0, 0, 0, 0.6)"
56+
edgeColor="#62B1F6"
57+
showAnimatedLine={false}
58+
/>
59+
</View>
4460
</View>
4561
`;
4662

@@ -55,13 +71,24 @@ exports[`BarcodeScanner renders with mask with animated line 1`] = `
5571
}
5672
>
5773
<View
74+
audio={false}
75+
codeScanner={[MockFunction]}
76+
device="mock-device"
77+
isActive={true}
5878
style={
5979
{
6080
"alignItems": "center",
6181
"flex": 1,
6282
"justifyContent": "center",
6383
}
6484
}
65-
/>
85+
testID="barcode-scanner-test"
86+
>
87+
<BarcodeMask
88+
backgroundColor="rgba(0, 0, 0, 0.6)"
89+
edgeColor="#62B1F6"
90+
showAnimatedLine={true}
91+
/>
92+
</View>
6693
</View>
6794
`;

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)