Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/fuchsia
/
.
/
test
/
addons
/
not-a-binding
/
test.js
blob: 4b4e7150ebbca29bcb6e2cfbc8701a6849ea2460 [
file
] [
log
] [
blame
] [
edit
]
'use strict'
;
const
common
=
require
(
'../../common'
);
const
assert
=
require
(
'assert'
);
const
re
=
/^Error: Module did not self-register: '.*[\\/]binding\.node'\.$/
;
assert
.
throws
(()
=>
require
(`./
build
/
$
{
common
.
buildType
}/
binding
`),
re
);