| 1 |
const obj: unknown = { foo: "bar" }; |
| 2 |
enum Foo { |
| 3 |
Bar = "bar", |
| 4 |
} |
| 5 |
|
| 6 |
describe("esm written in esm with top-level-await", () => { |
| 7 |
it("should work", () => { |
| 8 |
expect(obj, "to equal", { foo: Foo.Bar }); |
| 9 |
}); |
| 10 |
}); |
| 11 |
|
| 12 |
await undefined; |
| 13 |
|
| 14 |
export const foo = "bar"; |