Skip to content

Commit 3088f79

Browse files
authored
Merge pull request #2524 from murgatroid99/test_default_js
Default to pure JS implementation in tests
2 parents 4a8ec12 + 247af2c commit 3088f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/any_grpc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
const _ = require('lodash');
2323

2424
function getImplementation(globalField) {
25-
const impl = global[globalField];
25+
const impl = global[globalField] ?? 'js';
2626

2727
if (impl === 'js') {
2828
return require('../packages/grpc-js');

0 commit comments

Comments
 (0)