(fn, filterCondition)
| 75 | const assert = require('assert'); |
| 76 | |
| 77 | const setEnvAndCall = (fn, filterCondition) => { process.env.npm_config_filter = filterCondition; return fn(); }; |
| 78 | |
| 79 | assert.strictEqual(setEnvAndCall(exports.filesToCompile, 'typed*ex*'), './generated/binding.cc test_helper.h ../test/typed_threadsafe_function/typed_threadsafe_function_existing_tsfn.cc'); |
| 80 |