We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3bdb5 commit e36b228Copy full SHA for e36b228
tests/other_bench.js
@@ -5,7 +5,7 @@ var protobuf = require(".."),
5
6
tape.test("bench.proto and bench.json", function(test) {
7
test.plan(4);
8
- protobuf.load(require.resolve("../bench/data/bench.proto"), undefined, function(err, root) {
+ protobuf.load("bench/data/bench.proto", undefined, function(err, root) { // no require.resolve to support browsers
9
if (err)
10
return test.fail(err.message);
11
0 commit comments