Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

256 B
Raw Blame
const obj: unknown = { foo: "bar" };
enum Foo {
  Bar = "bar",
}

describe("esm written in esm with top-level-await", () => {
  it("should work", () => {
    expect(obj, "to equal", { foo: Foo.Bar });
  });
});

await undefined;

export const foo = "bar";