webvi-websockets
v3.2.0
Published
WebSocket wrappers for LabVIEW NXG WebVI JSLI nodes
Downloads
8
Maintainers
Readme
webvi-websockets
JavaScript wrapper of WebSockets for use LabVIEW NXG WebVI JSLI-based WebSocket nodes
Setup local WebSocket server:
- Install the latest LTS version of Node.js, which includes npm
- For automated tests, ensure that Chrome and Firefox are installed
- Clone webvi-websockets repository or download as a .zip
- Run
npm install
- Run
npm run start-server
- To establish WebSocket connection to test server, use
ws://localhost:64526/
The Karma tests included in this repository are
- test: runs test suite headlessly using chrome and firefox
- test-dev: runs test suite headlessly using chrome and skips tests flagged Slow
- test-manual: run tests in browser to allow access to dev tools
- test-coverage: checks code coverage in test suite
- lint: checks for lint failures
Run tests using npm run <testname>