From 62d716aed5457df592bb06e9216d500ed5409a09 Mon Sep 17 00:00:00 2001 From: Vladyslav Odobesku Date: Fri, 10 Jul 2026 14:01:17 +0300 Subject: [PATCH] fix(test): convert with-server.js to ESM (use import syntax instead of require) (#4363) Co-authored-by: Vladyslav Odobesku Co-authored-by: Claude --- test/storage/with-server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/storage/with-server.js b/test/storage/with-server.js index 0984dc25b..d4bbe0f30 100644 --- a/test/storage/with-server.js +++ b/test/storage/with-server.js @@ -1,6 +1,6 @@ -// This script runs a Node.js server passed to it while running aother program. +// This script runs a Node.js server passed to it while running another program. -const { spawn } = require('child_process') +import { spawn } from 'child_process'; if (process.argv.length < 4) { console.error("Usage: node with-server.js [arg]...");