Skip to content

Commit

Permalink
test: update test-eventsource.js to use new test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter committed Nov 6, 2024
1 parent 6f12f1e commit 63cfef7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/parallel/test-eventsource.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

0 comments on commit 63cfef7

Please sign in to comment.