11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_cirequire('../common'); 41cb0ef41Sopenharmony_ciconst assert = require('assert').strict; 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_ciassert.throws(() => { throw new Error('foo'); }, { bar: true }); 7