diff --git a/test/internet/test-dgram-multicast-set-interface-lo.js b/test/internet/test-dgram-multicast-set-interface-lo.js index 740b175d69be8a..c869b87d8a7507 100644 --- a/test/internet/test-dgram-multicast-set-interface-lo.js +++ b/test/internet/test-dgram-multicast-set-interface-lo.js @@ -22,7 +22,6 @@ if (common.isSunOS) { } const networkInterfaces = require('os').networkInterfaces(); -const Buffer = require('buffer').Buffer; const fork = require('child_process').fork; const MULTICASTS = { IPv4: ['224.0.0.115', '224.0.0.116', '224.0.0.117'], diff --git a/test/parallel/test-buffer-from.js b/test/parallel/test-buffer-from.js index ce20ff30bb3165..3fdf152022803d 100644 --- a/test/parallel/test-buffer-from.js +++ b/test/parallel/test-buffer-from.js @@ -2,7 +2,6 @@ require('../common'); const { deepStrictEqual, throws } = require('assert'); -const { Buffer } = require('buffer'); const { runInNewContext } = require('vm'); const checkString = 'test'; diff --git a/test/parallel/test-buffer-over-max-length.js b/test/parallel/test-buffer-over-max-length.js index e65b457958635a..4fcdd85119e678 100644 --- a/test/parallel/test-buffer-over-max-length.js +++ b/test/parallel/test-buffer-over-max-length.js @@ -3,7 +3,6 @@ const common = require('../common'); const assert = require('assert'); const buffer = require('buffer'); -const Buffer = buffer.Buffer; const SlowBuffer = buffer.SlowBuffer; const kMaxLength = buffer.kMaxLength;