Skip to content

armgit / mocha

Public Imported from GitHub
0

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

211 B
Raw Blame
const obj = { foo: 'bar' };
const Foo = {
  Bar: 'bar',
};

describe('esm written in esm', () => {
  it('should work', () => {
    expect(obj, 'to equal', { foo: Foo.Bar });
  });
});

export const foo = 'bar';