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

Commit 8155105

Browse files
author
Kai Cataldo
committed
Add assertion for added reference
1 parent 37c5985 commit 8155105

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/es6-super.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ describe("ES6 super", () => {
5050
expect(scope.variables).to.have.length(1);
5151
expect(scope.variables[0].name).to.be.equal("Foo");
5252
expect(scope.references).to.have.length(1);
53+
expect(scope.references[0].identifier.name).to.be.equal("Bar");
5354

5455
scope = scopeManager.scopes[1];
5556
expect(scope.type).to.be.equal("class");

0 commit comments

Comments
 (0)