Skip to content

Commit

Permalink
Other: Fixed failing browser test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Apr 7, 2017
1 parent 7b3bdb5 commit e36b228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/other_bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var protobuf = require(".."),

tape.test("bench.proto and bench.json", function(test) {
test.plan(4);
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
if (err)
return test.fail(err.message);

Expand Down

0 comments on commit e36b228

Please sign in to comment.