Skip to content

Correctly parse right-facing (end) pins from raw easyeda json #189

Correctly parse right-facing (end) pins from raw easyeda json

Correctly parse right-facing (end) pins from raw easyeda json #189

Triggered via pull request October 31, 2024 16:35
Status Failure
Total duration 16s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
error: expect(received).toMatchSnapshot(expected): tests/convert-to-ts/C2913206-to-ts.test.ts#L28
Expected: "const pinLabels = { "pin1": [ "pin1", "GND1" ], "pin2": [ "pin2", "GND2" ], "pin3": [ "pin3", "3V3" ], "pin4": [ "pin4", "IO0" ], "pin5": [ "pin5", "IO1" ], "pin6": [ "pin6", "IO2" ], "pin7": [ "pin7", "IO3" ], "pin8": [ "pin8", "IO4" ], "pin9": [ "pin9", "IO5" ], "pin10": [ "pin10", "IO6" ], "pin11": [ "pin11", "IO7" ], "pin12": [ "pin12", "IO8" ], "pin13": [ "pin13", "IO9" ], "pin14": [ "pin14", "IO10" ], "pin15": [ "pin15", "IO11" ], "pin16": [ "pin16", "IO12" ], "pin17": [ "pin17", "IO13" ], "pin18": [ "pin18", "IO14" ], "pin19": [ "pin19", "IO15" ], "pin20": [ "pin20", "IO16" ], "pin21": [ "pin21", "IO17" ], "pin22": [ "pin22", "IO18" ], "pin23": [ "pin23", "IO19" ], "pin24": [ "pin24", "IO20" ], "pin25": [ "pin25", "IO21" ], "pin26": [ "pin26", "IO26" ], "pin27": [ "pin27", "IO47" ], "pin28": [ "pin28", "IO33" ], "pin29": [ "pin29", "IO34" ], "pin30": [ "pin30", "IO48" ], "pin31": [ "pin31" ], "pin32": [ "pin32" ], "pin33": [ "pin33" ], "pin34": [ "pin34" ], "pin35": [ "pin35" ], "pin36": [ "pin36" ], "pin37": [ "pin37" ], "pin38": [ "pin38" ], "pin39": [ "pin39" ], "pin40": [ "pin40" ], "pin41": [ "pin41" ], "pin42": [ "pin42" ], "pin43": [ "pin43" ], "pin44": [ "pin44" ], "pin45": [ "pin45" ], "pin46": [ "pin46" ], "pin47": [ "pin47" ], "pin48": [ "pin48" ], "pin49": [ "pin49" ], "pin50": [ "pin50" ], "pin51": [ "pin51" ], "pin52": [ "pin52" ], "pin53": [ "pin53" ], "pin54": [ "pin54" ], "pin55": [ "pin55" ], "pin56": [ "pin56" ], "pin57": [ "pin57" ], "pin58": [ "pin58" ], "pin59": [ "pin59" ], "pin60": [ "pin60" ], "pin61": [ "pin61", "GND3" ], "pin62": [ "pin62", "GND4" ], "pin63": [ "pin63", "GND5" ], "pin64": [ "pin64", "GND6" ], "pin65": [ "pin65", "GND7" ], "pin66": [ "pin66", "GND8" ], "pin67": [ "pin67", "GND9" ], "pin68": [ "pin68", "GND10" ], "pin69": [ "pin69", "GND11" ], "pin70": [ "pin70", "GND12" ], "pin71": [ "pin71", "GND13" ], "pin72": [ "pin72", "GND14" ], "pin73": [ "pin73", "GND15" ] }" Received: "const pinLabels = { "pin1": [ "pin1", "GND1" ], "pin2": [ "pin2", "GND2" ], "pin3": [ "pin3", "3V3" ], "pin4": [ "pin4", "IO0" ], "pin5": [ "pin5", "IO1" ], "pin6": [ "pin6", "IO2" ], "pin7": [ "pin7", "IO3" ], "pin8": [ "pin8", "IO4" ], "pin9": [ "pin9", "IO5" ], "pin10": [ "pin10", "IO6" ], "pin11": [ "pin11", "IO7" ], "pin12": [ "pin12", "IO8" ], "pin13": [ "pin13", "IO9" ], "pin14": [ "pin14", "IO10" ], "pin15": [ "pin15", "IO11" ], "pin16": [ "pin16", "IO12" ], "pin17": [ "pin17", "IO13" ], "pin18": [ "pin18", "IO14" ], "pin19": [ "pin19", "IO15" ], "pin20": [ "pin20", "IO16" ], "pin21": [ "pin21", "IO17" ], "pin22": [ "pin22", "IO18" ], "pin23": [ "pin23", "IO19" ], "pin24": [ "pin24", "IO20" ], "pin25": [ "pin25", "IO21" ], "pin26": [ "pin26", "IO26" ], "pin27": [ "pin27", "IO47" ], "pin28": [ "pin28", "IO33" ], "pin29": [ "pin29", "IO34" ], "pin30": [ "pin30", "IO48" ], "pin31": [ "pin31", "IO35" ], "pin32": [ "pin32", "IO36" ], "pin33": [ "pin33", "
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/