From e80a59e5cda9ed3f4eebb2587b889388fbfd54a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= <jmillan@aliax.net>
Date: Wed, 22 May 2024 10:59:30 +0200
Subject: [PATCH] tests: add comment of addon tests

---
 node/src/workerChannel/src/test.ts | 7 +++++++
 node/tsconfig.json                 | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/node/src/workerChannel/src/test.ts b/node/src/workerChannel/src/test.ts
index e780597995..ee0bbbd70c 100644
--- a/node/src/workerChannel/src/test.ts
+++ b/node/src/workerChannel/src/test.ts
@@ -1,3 +1,10 @@
+/**
+ * NOTE: These tests are to be run locally only, if needed.
+ * When running them within a testing environment (jest|node) the native addon
+ * handle will remain open and the test process won't terminate, making any
+ * CI process fail.
+ */
+
 import assert = require('node:assert');
 import { beforeEach, describe, it } from 'node:test';
 
diff --git a/node/tsconfig.json b/node/tsconfig.json
index 3271cdb50c..87394576c7 100644
--- a/node/tsconfig.json
+++ b/node/tsconfig.json
@@ -10,7 +10,7 @@
 		"declaration": true,
 		"declarationMap": true
 	},
-	"include": ["src", "workerChannel/src"],
+	"include": ["src"],
 	"watchOptions": {
 		"watchFile": "useFsEvents",
 		"watchDirectory": "useFsEvents",