File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ public class SerialServiceTest : BootstrapBlazorTestBase
99 [ Fact ]
1010 public async Task GetPort_Ok ( )
1111 {
12+ // https://itldg.github.io/web-serial-debug/?wt.mc_id=DT-MVP-5004174 网页串口调试工具
1213 Context . JSInterop . Setup < bool > ( "init" , matcher => matcher . Arguments . Count == 1 && ( matcher . Arguments [ 0 ] ? . ToString ( ) ? . StartsWith ( "bb_serial_" ) ?? false ) ) . SetResult ( true ) ;
1314 Context . JSInterop . Setup < bool > ( "getPort" , matcher => matcher . Arguments . Count == 1 && ( matcher . Arguments [ 0 ] ? . ToString ( ) ? . StartsWith ( "bb_serial_" ) ?? false ) ) . SetResult ( true ) ;
1415 Context . JSInterop . Setup < bool > ( "open" , matcher => matcher . Arguments . Count == 4 && ( matcher . Arguments [ 0 ] ? . ToString ( ) ? . StartsWith ( "bb_serial_" ) ?? false ) ) . SetResult ( true ) ;
You can’t perform that action at this time.
0 commit comments