mirror of https://github.com/webpack/webpack.git
update test
This commit is contained in:
parent
41f0a98b12
commit
c6b6fd9889
|
|
@ -1,5 +1,6 @@
|
|||
import i from "./won't-run-tla";
|
||||
import i, { foo } from "./won't-run-tla";
|
||||
|
||||
it("should have value imported from won't-run-tla", async () => {
|
||||
expect(i).toBe(42);
|
||||
expect(foo).toBe(undefined);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
global.someNonExistentVariable && await 'test';
|
||||
const foo = global.otherSomeNonExistentVariable && await 43;
|
||||
export default 42;
|
||||
export { foo }
|
||||
|
|
|
|||
Loading…
Reference in New Issue