added test case for #1788

This commit is contained in:
Tobias Koppers 2015-12-22 09:20:20 +01:00
parent c5bc9fd2e3
commit d10bff9070
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import b from './b';
export default 'a-default';
export { btest } from "./b";
export function atest() {
b.should.be.eql("b-default");
}

View File

@ -0,0 +1,6 @@
import a from './a';
export default 'b-default';
export function btest() {
a.should.be.eql("a-default");
}

View File

@ -0,0 +1,6 @@
import { atest, btest } from "./a";
it("should have the correct values", function() {
atest();
btest();
});