mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-20 04:26:31 +00:00
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.
This commit is contained in:
@ -244,6 +244,10 @@ describe('Nat Manager (TCP)', () => {
|
||||
})
|
||||
|
||||
it('shuts the nat api down when stopping', async function () {
|
||||
if (process.env.CI) {
|
||||
return this.skip('CI environments will not let us map external ports')
|
||||
}
|
||||
|
||||
function findRoutableAddress () {
|
||||
const interfaces = networkInterfaces()
|
||||
|
||||
@ -261,7 +265,7 @@ describe('Nat Manager (TCP)', () => {
|
||||
|
||||
if (!addr) {
|
||||
// skip test if no non-loopback address is found
|
||||
this.skip()
|
||||
return this.skip()
|
||||
}
|
||||
|
||||
const {
|
||||
|
Reference in New Issue
Block a user