Closed monkbroc closed 2 years ago
Story details: https://app.shortcut.com/particle/story/88683
Pull information from @particle/device-constants to generate the device specs used in the CLI
@particle/device-constants
Changes:
Test plan:
particle serial inspect
particle keys server
particle keys save
particle flash --usb
particle usb list
particle usb dfu
npm run test:e2e -- --grep "product device" --invert
Most E2E tests passed. The only failure that needs investigation is
USB Setup-Done Subcommand 39) Sets and clears the setup done flag
I fixed it in the latest commit.
Story details: https://app.shortcut.com/particle/story/88683
Pull information from
@particle/device-constants
to generate the device specs used in the CLIChanges:
Test plan:
particle serial inspect
shows the platform display nameparticle keys server
andparticle keys save
workparticle flash --usb
works for user app and system partparticle usb list
andparticle usb dfu
worksnpm run test:e2e -- --grep "product device" --invert
because I didn't have a product device set up)