Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const chai = require('chai')
chai.Should()
chai.use(require('chai-things'))
chai.use(require('@signalk/signalk-schema').chaiModule)
const freeport = require('freeport-promise')
const startServerP = require('./servertestutilities').startServerP
const rp = require('request-promise')
const uuid = 'urn:mrn:signalk:uuid:c0d79334-4e25-4245-8892-54e8ccc8021d'
const delta = {
context: 'vessels.' + uuid,
updates: [
{
source: {
pgn: 128275,
label: '/dev/actisense',
src: '115'
},
const chai = require('chai')
chai.Should()
chai.use(require('chai-things'))
chai.use(require('@signalk/signalk-schema').chaiModule)
const _ = require('lodash')
const assert = require('assert')
const freeport = require('freeport-promise')
const WebSocket = require('ws')
const rp = require('request-promise')
const startServerP = require('./servertestutilities').startServerP
const testDelta = {
context: 'vessels.self',
updates: [
{
timestamp: '2014-05-03T09:14:11.100Z',
values: [
{
path: 'navigation.trip.log',
value: 43374