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
I would like to use import {AssertionError} from 'assert'; but cannot because power-assert does not echo named exports. All I can do is either abuse import {AssertionError} from 'node:assert; since this bypasses the power-assert babel plugin, or import assert from 'assert'; const {AssertionError} = assert;.
The text was updated successfully, but these errors were encountered:
I would like to use
import {AssertionError} from 'assert';
but cannot becausepower-assert
does not echo named exports. All I can do is either abuseimport {AssertionError} from 'node:assert;
since this bypasses thepower-assert
babel plugin, orimport assert from 'assert'; const {AssertionError} = assert;
.The text was updated successfully, but these errors were encountered: