Alex Potsides 1b46f47fdb
chore: run node tests in ci (#1057)
Looks like this project stopped running the `test:node` npm script when it was migrated to gh actions.

Re-enable it and fix all the related test failures.
2021-12-08 08:38:17 +00:00

22 lines
409 B
JavaScript

'use strict'
const KadDht = require('libp2p-kad-dht')
const mergeOptions = require('merge-options')
const baseOptions = require('../utils/base-options')
module.exports.baseOptions = baseOptions
const routingOptions = mergeOptions(baseOptions, {
modules: {
dht: KadDht
},
config: {
dht: {
kBucketSize: 20,
enabled: true
}
}
})
module.exports.routingOptions = routingOptions