diff options
Diffstat (limited to 'test/parallel/test-cluster-disconnect-with-no-workers.js')
-rw-r--r-- | test/parallel/test-cluster-disconnect-with-no-workers.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-cluster-disconnect-with-no-workers.js b/test/parallel/test-cluster-disconnect-with-no-workers.js index 4c2425d82d..15c5898a7d 100644 --- a/test/parallel/test-cluster-disconnect-with-no-workers.js +++ b/test/parallel/test-cluster-disconnect-with-no-workers.js @@ -1,9 +1,9 @@ 'use strict'; require('../common'); -var assert = require('assert'); -var cluster = require('cluster'); +const assert = require('assert'); +const cluster = require('cluster'); -var disconnected; +let disconnected; process.on('exit', function() { assert(disconnected); |