particle-iot / particle-usb

A library for accessing Particle USB devices
Apache License 2.0
5 stars 1 forks source link

feature/sc-104328/node-usb-v2-line-e2e-tests #70

Closed busticated closed 2 years ago

busticated commented 2 years ago

Description

Adds end-to-end test suites for Browser and Node.js usage.

How to test

  1. Reinstall dependencies: npm run reinstall (or npm i if this is your first time - see docs)
  2. Run tests: npm run test:ci
  3. Review the e2e test instructions
  4. Run e2e tests with device(s) connected (docs)
  5. Run e2e tests without device(s) connected (docs)

Outcome

All tests should pass, package-lock.json should not show changes after reinstalling, all commands should do what you expect, docs are clear

Related / Discussions

https://app.shortcut.com/particle/story/104328