Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because of how their exported module is constructed, finding named exports turned out to be a little bit of a challenge. But through a combination of remembering the defined objects, plus using a regexp to find the actual `module.exports`, I was able to get it working. Because this ended up being a little brittle, I added a regression test for a bug that I was close to introducing.
- Loading branch information
Showing
2 changed files
with
73 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters