You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a unit test which passes when using ts-jest and fails when using esbuild-jest. The difference is that esbuild does not enable strict mode ("use strict") by default, whereas tsc does (when alwaysStrict is set to true).
We have a unit test which passes when using
ts-jest
and fails when usingesbuild-jest
. The difference is that esbuild does not enable strict mode ("use strict"
) by default, whereastsc
does (whenalwaysStrict
is set totrue
).Failing test: foxglove/rosbag#14
Esbuild does not handle this automatically, but supports it via the banner feature: evanw/esbuild#422 (comment)
Would you consider enabling
"use strict"
by default whenalwaysStrict
is enabled, to match ts-jest behavior?The text was updated successfully, but these errors were encountered: