transports: fix node tests error