Skip to content

armgit / mocha

Public Imported from GitHub
0

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

217 B
Raw Blame
const obj = { foo: 'bar' };

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

await undefined;

export const foo = 'bar';