From 7a5f7f607beb164bc5a7d7a9c410cdccf94ec354 Mon Sep 17 00:00:00 2001 From: Matthew Prestifilippo Date: Tue, 1 Oct 2024 10:06:30 -0400 Subject: [PATCH] Add node-fetch shim to api_spec --- test/api_spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/api_spec.js b/test/api_spec.js index 7d2cdfc..c396cbb 100644 --- a/test/api_spec.js +++ b/test/api_spec.js @@ -3,6 +3,7 @@ var util = require("../lib/testutil"); var log = require("winston"); +var fetch = require("node-fetch"); // disable logging during tests log.remove(log.transports.Console);