We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af75e0b commit 4adc65aCopy full SHA for 4adc65a
2 files changed
.github/workflows/ci.yaml
@@ -22,4 +22,4 @@ jobs:
22
shell: cmd
23
run: chcp 65001
24
- run: npm ci
25
- - run: node --test
+ - run: node --expose-gc --test
test/test.js
@@ -17,6 +17,10 @@ TEST( 'smoke-test', async() => {
17
ASSERT.equal( typeof enumerator.item().Name, 'string');
18
}
19
console.log( 'remote objects:', wsh.remoteObjects.count);
20
+ if( typeof global.gc === 'function') {
21
+ global.gc();
+ console.log( 'remote objects:', wsh.remoteObjects.count);
+ }
} finally {
await wsh.disconnect();
26
0 commit comments