• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Flags: --no-harmony-top-level-await
2
3import {
4  mustCall,
5  disableCrashOnUnhandledRejection
6} from '../common/index.mjs';
7
8disableCrashOnUnhandledRejection();
9
10process.on('unhandledRejection', mustCall());
11Promise.reject(new Error('should not be fatal error'));
12