mirror of https://github.com/webpack/webpack.git
added test case for #1788
This commit is contained in:
parent
c5bc9fd2e3
commit
d10bff9070
|
|
@ -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");
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import a from './a';
|
||||
export default 'b-default';
|
||||
|
||||
export function btest() {
|
||||
a.should.be.eql("a-default");
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import { atest, btest } from "./a";
|
||||
|
||||
it("should have the correct values", function() {
|
||||
atest();
|
||||
btest();
|
||||
});
|
||||
Loading…
Reference in New Issue