Skip to content

Commit 6b90041

Browse files
committed
restore callbacks symbol for legacy
1 parent 9948aec commit 6b90041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/tools/mongodb-legacy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('mongodb-legacy', () => {
3838
it(`test suite imports a ${className} with the legacy symbol`, () => {
3939
// Just confirming that the mongodb-legacy import is correctly overriding the local copies
4040
// of these classes from "src". See test/mongodb.ts for more.
41-
expect(ctor.prototype).to.have.property(__callbacks.toLegacy);
41+
expect(ctor.prototype).to.have.property(Symbol.for('@@mdb.callbacks.toLegacy'));
4242
});
4343
}
4444

0 commit comments

Comments
 (0)