mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
PR-URL: https://github.com/nodejs/node/pull/60125 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
7 lines
144 B
JavaScript
7 lines
144 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const assert = require('assert/strict');
|
|
|
|
assert.throws(() => { throw new Error('foo'); }, { bar: true });
|