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

Commit

Permalink
Add assertion for added reference
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Jul 19, 2019
1 parent 37c5985 commit 8155105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/es6-super.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ describe("ES6 super", () => {
expect(scope.variables).to.have.length(1);
expect(scope.variables[0].name).to.be.equal("Foo");
expect(scope.references).to.have.length(1);
expect(scope.references[0].identifier.name).to.be.equal("Bar");

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

0 comments on commit 8155105

Please sign in to comment.