Add snapshot test for module SharedWorker (type: 'module')
Verifies that new SharedWorker(url, { type: 'module' }) correctly
generates an ESM bootstrap (using import() instead of importScripts)
and ESM-format chunks. The 'esm' modifier in the module name confirms
is_esm=true is detected from the { type: 'module' } options.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This diff is collapsed.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This diff is collapsed.
Please
register
or
sign in
to comment