blob: a1e0e8b72c79e953a4044aec42d6006fb64cfa75 (
plain)
1
2
3
4
5
6
7
8
|
// The --expose-http2 flag is not set
'use strict';
require('../common');
const assert = require('assert');
assert.throws(() => require('http2'),
/^Error: Cannot find module 'http2'$/);
|