OLD | NEW |
(Empty) | |
| 1 |
| 2 import { INC_A } from "./imports-inc-a.js"; |
| 3 import { INC_B } from "./imports-inc-b.js"; |
| 4 import { INC_AB_A, INC_AB_B } from "./imports-inc-ab.js"; |
| 5 |
| 6 test(function () { |
| 7 assert_equals(INC_A.from, "imports-a.js", "Unexpected INC_A"); |
| 8 assert_equals(INC_B.from, "imports-b.js", "Unexpected INC_A"); |
| 9 assert_equals(INC_AB_A.from, "imports-a.js", "Unexpected INC_A"); |
| 10 assert_equals(INC_AB_B.from, "imports-b.js", "Unexpected INC_A"); |
| 11 assert_equals(INC_A, INC_AB_A, "INC_A and INC_AB_A should be the sam
e"); |
| 12 assert_equals(INC_B, INC_AB_B, "INC_B and INC_AB_B should be the sam
e"); |
| 13 }, "Import the same module multiple times"); |
| 14 |
OLD | NEW |