node/test/parallel/test-eventsource.js
Aras Abbasi 1d7d094a98
lib: add EventSource Client
PR-URL: https://github.com/nodejs/node/pull/51575
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-05-13 05:32:08 +00:00

8 lines
161 B
JavaScript

// Flags: --experimental-eventsource
'use strict';
require('../common');
const assert = require('assert');
assert.strictEqual(typeof EventSource, 'function');