Skip to content

armgit / mocha

Public Imported from GitHub
0

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

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

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

module.exports.foo = 'bar';