Merge pull request #2524 from murgatroid99/test_default_js

Default to pure JS implementation in tests
This commit is contained in:
Michael Lumish 2023-07-28 11:39:50 -07:00 committed by GitHub
commit 3088f79696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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');