-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtest.js
More file actions
29 lines (26 loc) · 942 Bytes
/
test.js
File metadata and controls
29 lines (26 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
describe("@esm-bundle/angular-core", () => {
it("can load the System.register es2022 bundle", async () => {
const m = await System.import("/base/system/es2022/ivy/angular-core.js");
expect(m.ApplicationRef).toBeDefined();
});
it("can load the System.register es2022 prod bundle", async () => {
const m = await System.import(
"/base/system/es2022/ivy/angular-core.min.js",
);
expect(m.ApplicationRef).toBeDefined();
});
});
describe("@esm-bundle/angular-rxjs-interop", () => {
it("can load the System.register es2022 bundle", async () => {
const m = await System.import(
"/base/system/es2022/ivy/angular-rxjs-interop.js",
);
expect(m.toSignal).toBeDefined();
});
it("can load the System.register es2022 prod bundle", async () => {
const m = await System.import(
"/base/system/es2022/ivy/angular-rxjs-interop.min.js",
);
expect(m.toSignal).toBeDefined();
});
});