@@ -1263,15 +1263,15 @@ describe('Test createUniversalHex()', () => {
12631263 ':10009000678E01000D8A0100D98A0100A5E90000E0\n' +
12641264 ':0C00000BFFFFFFFFFFFFFFFFFFFFFFFFF5\n' +
12651265 ':00000001FF\n' ;
1266- // const microbitV1MakecodeV0 =
1267- // ':020000040000FA\n' +
1268- // ':1000000000400020218E01005D8E01005F8E010006\n' +
1269- // ':1000100000000000000000000000000000000000E0\n' +
1270- // ':020000042000DA\n' +
1271- // ':1000000041140E2FB82FA2BB9A005F02000000001F\n' +
1272- // ':100010007B22636F6D7072657373696F6E223A2213\n' +
1273- // ':00000001FF\n' +
1274- // '\n';
1266+ const microbitV1MakecodeV0 =
1267+ ':020000040000FA\n' +
1268+ ':1000000000400020218E01005D8E01005F8E010006\n' +
1269+ ':1000100000000000000000000000000000000000E0\n' +
1270+ ':020000042000DA\n' +
1271+ ':1000000041140E2FB82FA2BB9A005F02000000001F\n' +
1272+ ':100010007B22636F6D7072657373696F6E223A2213\n' +
1273+ ':00000001FF\n' +
1274+ '\n' ;
12751275 const microbitV1MakecodeV1 =
12761276 ':020000040000FA\n' +
12771277 ':1000000000400020218E01005D8E01005F8E010006\n' +
@@ -1295,15 +1295,17 @@ describe('Test createUniversalHex()', () => {
12951295 '\n' +
12961296 '\n' ;
12971297
1298- // const failFirstV0Blocks = () => {
1299- // uh.createUniversalHex(
1300- // [
1301- // { hex: microbitV1MakecodeV0, boardId: 0x9900 },
1302- // { hex: normalHex, boardId: 0x9903 },
1303- // ],
1304- // true
1305- // );
1306- // };
1298+ // @ts -expect-error
1299+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1300+ const failFirstV0Blocks = ( ) => {
1301+ uh . createUniversalHex (
1302+ [
1303+ { hex : microbitV1MakecodeV0 , boardId : 0x9900 } ,
1304+ { hex : normalHex , boardId : 0x9903 } ,
1305+ ] ,
1306+ true
1307+ ) ;
1308+ } ;
13071309 const failFirstV1Blocks = ( ) => {
13081310 uh . createUniversalHex (
13091311 [
@@ -1322,15 +1324,17 @@ describe('Test createUniversalHex()', () => {
13221324 true
13231325 ) ;
13241326 } ;
1325- // const failFirstV0Sections = () => {
1326- // uh.createUniversalHex(
1327- // [
1328- // { hex: microbitV1MakecodeV0, boardId: 0x9900 },
1329- // { hex: normalHex, boardId: 0x9903 },
1330- // ],
1331- // false
1332- // );
1333- // };
1327+ // @ts -expect-error
1328+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1329+ const failFirstV0Sections = ( ) => {
1330+ uh . createUniversalHex (
1331+ [
1332+ { hex : microbitV1MakecodeV0 , boardId : 0x9900 } ,
1333+ { hex : normalHex , boardId : 0x9903 } ,
1334+ ] ,
1335+ false
1336+ ) ;
1337+ } ;
13341338 const failFirstV1Sections = ( ) => {
13351339 uh . createUniversalHex (
13361340 [
@@ -1349,15 +1353,17 @@ describe('Test createUniversalHex()', () => {
13491353 false
13501354 ) ;
13511355 } ;
1352- // const failSecondV0Blocks = () => {
1353- // uh.createUniversalHex(
1354- // [
1355- // { hex: normalHex, boardId: 0x9900 },
1356- // { hex: microbitV1MakecodeV0, boardId: 0x9903 },
1357- // ],
1358- // true
1359- // );
1360- // };
1356+ // @ts -expect-error
1357+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1358+ const failSecondV0Blocks = ( ) => {
1359+ uh . createUniversalHex (
1360+ [
1361+ { hex : normalHex , boardId : 0x9900 } ,
1362+ { hex : microbitV1MakecodeV0 , boardId : 0x9903 } ,
1363+ ] ,
1364+ true
1365+ ) ;
1366+ } ;
13611367 const failSecondV1Blocks = ( ) => {
13621368 uh . createUniversalHex (
13631369 [
@@ -1376,15 +1382,17 @@ describe('Test createUniversalHex()', () => {
13761382 true
13771383 ) ;
13781384 } ;
1379- // const failSecondV0Sections = () => {
1380- // uh.createUniversalHex(
1381- // [
1382- // { hex: normalHex, boardId: 0x9900 },
1383- // { hex: microbitV1MakecodeV0, boardId: 0x9903 },
1384- // ],
1385- // false
1386- // );
1387- // };
1385+ // @ts -expect-error
1386+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1387+ const failSecondV0Sections = ( ) => {
1388+ uh . createUniversalHex (
1389+ [
1390+ { hex : normalHex , boardId : 0x9900 } ,
1391+ { hex : microbitV1MakecodeV0 , boardId : 0x9903 } ,
1392+ ] ,
1393+ false
1394+ ) ;
1395+ } ;
13881396 const failSecondV1Sections = ( ) => {
13891397 uh . createUniversalHex (
13901398 [
0 commit comments