Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 6e64e87

Browse files
committed
Add comment to CorePlugin's Math
1 parent b30006f commit 6e64e87

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/core/src/plugins/core.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,13 @@ export class CorePlugin extends Plugin<CoreOptions> implements CoreOptions {
341341

342342
atob,
343343
btoa,
344+
345+
// We shouldn't need to include this, but it seems to be missing when
346+
// running scripts for module exports in Miniflare's Jest environment
347+
// otherwise. See https://github.com/cloudflare/miniflare/pull/129 and
348+
// https://github.com/mrbbot/miniflare-typescript-esbuild-jest/pull/4 for
349+
// a reproduction.
350+
// TODO (someday): work out what's actually going on here
344351
Math,
345352

346353
crypto,

0 commit comments

Comments
 (0)