Skip to content

Commit

Permalink
tests: add comment of addon tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed May 22, 2024
1 parent b3044ad commit e80a59e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions node/src/workerChannel/src/test.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"declaration": true,
"declarationMap": true
},
"include": ["src", "workerChannel/src"],
"include": ["src"],
"watchOptions": {
"watchFile": "useFsEvents",
"watchDirectory": "useFsEvents",
Expand Down

0 comments on commit e80a59e

Please sign in to comment.