Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Commit 4b6bdc9

Browse files
fix: Revert "test: update tests to reflect upstream fix (#448)" (#449)
This reverts commit f9f378d.
1 parent f9f378d commit 4b6bdc9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/load.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ describe('loadSync', () => {
6464
'library.proto'
6565
);
6666
it('should not be able to load test file using protobufjs directly', () => {
67-
assert.throws(() => protobuf.loadSync(TEST_FILE));
67+
const root = protobuf.loadSync(TEST_FILE);
68+
// Common proto that should not have been loaded.
69+
assert.strictEqual(root.lookup('google.api.Http'), null);
6870
});
6971

7072
it('should load a test file that relies on common protos', () => {

0 commit comments

Comments
 (0)