Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 7, 2017
1 parent 4bb3018 commit 22cd80e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/configCases/plugins/define-plugin/index.js
Expand Up @@ -105,4 +105,12 @@ it("should evaluate composed expressions (issue 5100)", function() {
} else {
require("fail");
}
})
});

it("should follow renamings in var (issue 5215)", function() {
var _process$env = process.env,
TEST = _process$env.TEST,
DEFINED_NESTED_KEY = _process$env.DEFINED_NESTED_KEY;
TEST.should.be.eql("test");
DEFINED_NESTED_KEY.should.be.eql(5);
});

0 comments on commit 22cd80e

Please sign in to comment.