From 63cfef75ec178820100a3e140b0c46ae213656be Mon Sep 17 00:00:00 2001 From: Thomas Hunter II Date: Wed, 6 Nov 2024 14:50:53 +0000 Subject: [PATCH] test: update test-eventsource.js to use new test runner --- test/parallel/test-eventsource.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-eventsource.js b/test/parallel/test-eventsource.js index 787195ca19d971..75bfdca7a4207a 100644 --- a/test/parallel/test-eventsource.js +++ b/test/parallel/test-eventsource.js @@ -3,5 +3,8 @@ require('../common'); const assert = require('assert'); +const { test } = require('node:test'); -assert.strictEqual(typeof EventSource, 'function'); +test('EventSource is a function', () => { + assert.strictEqual(typeof EventSource, 'function'); +});