MCPcopy Index your code
hub / github.com/nodejs/node / ensureFixtureLibrary

Function ensureFixtureLibrary

test/ffi/ffi-test-common.js:22–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20);
21
22function ensureFixtureLibrary() {
23 if (!fs.existsSync(libraryPath)) {
24 throw new Error(
25 `Missing FFI test fixture library: ${libraryPath}. ` +
26 'Build it first with `make build-ffi-tests` or the equivalent test build step.',
27 );
28 }
29}
30
31ensureFixtureLibrary();
32

Callers 1

ffi-test-common.jsFile · 0.70

Calls 1

existsSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…