mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2524 from murgatroid99/test_default_js
Default to pure JS implementation in tests
This commit is contained in:
commit
3088f79696
|
@ -22,7 +22,7 @@
|
|||
const _ = require('lodash');
|
||||
|
||||
function getImplementation(globalField) {
|
||||
const impl = global[globalField];
|
||||
const impl = global[globalField] ?? 'js';
|
||||
|
||||
if (impl === 'js') {
|
||||
return require('../packages/grpc-js');
|
||||
|
|
Loading…
Reference in New Issue