Skip to content

Commit

Permalink
test: update tests to reflect upstream fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Jan 31, 2023
1 parent 393f6ca commit 9360659
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/load.test.ts
Expand Up @@ -64,9 +64,7 @@ describe('loadSync', () => {
'library.proto'
);
it('should not be able to load test file using protobufjs directly', () => {
const root = protobuf.loadSync(TEST_FILE);
// Common proto that should not have been loaded.
assert.strictEqual(root.lookup('google.api.Http'), null);
assert.throws(() => protobuf.loadSync(TEST_FILE));
});

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

0 comments on commit 9360659

Please sign in to comment.