Skip to content

Commit

Permalink
fix blocks tests
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll committed Feb 23, 2024
1 parent 1058f52 commit 57612a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions libs/core/blocks-test/test.blocks
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<field name="name">AnalogPin.P4</field>
<value name="value">
<shadow type="math_number_minmax" id=",:%8N*FL3wa-zFQ[+^$9">
<mutation min="0" max="1023" label="Value"></mutation>
<mutation min="0" max="1023" label="Value" precision="0"></mutation>
<field name="SLIDER">1023</field>
</shadow>
<block type="device_get_analog_pin">
Expand All @@ -165,7 +165,7 @@
<field name="name">DigitalPin.P10</field>
<value name="value">
<shadow type="math_number_minmax" id="W~pvdj%jFEj?EHmT{81Z">
<mutation min="0" max="1" label="Value"></mutation>
<mutation min="0" max="1" label="Value" precision="0"></mutation>
<field name="SLIDER">0</field>
</shadow>
<block type="device_get_digital_pin">
Expand Down Expand Up @@ -221,7 +221,7 @@
<field name="name">AnalogPin.P20</field>
<value name="value">
<shadow type="math_number_minmax" id="xC9lYf`{!gA-A8R+#~L.">
<mutation min="0" max="180" label="Value"></mutation>
<mutation min="0" max="180" label="Value" precision="0"></mutation>
<field name="SLIDER">180</field>
</shadow>
<block type="device_acceleration">
Expand Down Expand Up @@ -419,7 +419,7 @@
</value>
<value name="brightness">
<shadow type="math_number_minmax" id="IjJTgf5z!,K`qd`~pCB3">
<mutation min="0" max="255" label="Brightness"></mutation>
<mutation min="0" max="255" label="Brightness" precision="0"></mutation>
<field name="SLIDER">255</field>
</shadow>
<block type="device_get_brightness"></block>
Expand All @@ -428,7 +428,7 @@
<block type="device_set_brightness">
<value name="value">
<shadow type="math_number_minmax" id="WAUzdT@1z{%:UNn!_dU(">
<mutation min="0" max="255" label="Value"></mutation>
<mutation min="0" max="255" label="Value" precision="0"></mutation>
<field name="SLIDER">255</field>
</shadow>
<block type="device_note">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
},
"dependencies": {
"pxt-common-packages": "12.0.1",
"pxt-core": "10.0.4"
"pxt-core": "10.0.5"
}
}

0 comments on commit 57612a9

Please sign in to comment.