Skip to content

Commit 247af2c

Browse files
committed
Default to pure JS implementation in tests
1 parent 4a8ec12 commit 247af2c

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)