webpack/test/configCases/container/module-federation/module.js

12 lines
347 B
JavaScript
Raw Normal View History

2020-04-04 07:13:16 +08:00
import abc from "abc/hello-world";
import def, { module } from "def/hello-world";
import def2, { module as module2 } from "def/hello/other/world";
export function test() {
expect(abc).toBe("abc hello-world");
expect(def).toBe("def");
expect(def2).toBe("def");
expect(module).toBe("hello-world");
expect(module2).toBe("hello/other/world");
}