From e36b228f4bb8b1cd835bf31f8605b759a7f1f501 Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Fri, 7 Apr 2017 20:47:41 +0200 Subject: [PATCH] Other: Fixed failing browser test --- tests/other_bench.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/other_bench.js b/tests/other_bench.js index 182bb561d..9b78fbe30 100644 --- a/tests/other_bench.js +++ b/tests/other_bench.js @@ -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);