From 7f220772b4951a1b61c198ed029c8165b7558b83 Mon Sep 17 00:00:00 2001 From: Icebob Date: Sat, 15 Jul 2023 19:45:53 +0200 Subject: [PATCH] fix nats on node 10 --- test/unit/transporters/nats.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/transporters/nats.spec.js b/test/unit/transporters/nats.spec.js index 0d9898578..48562cce3 100644 --- a/test/unit/transporters/nats.spec.js +++ b/test/unit/transporters/nats.spec.js @@ -1,3 +1,6 @@ +// for Node 10 compatibility +global.globalThis = global; + const ServiceBroker = require("../../../src/service-broker"); const Transit = require("../../../src/transit"); const P = require("../../../src/packets");