mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
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 });
|