☕️ Classic, reliable, trusted test framework for Node.js and the browser
const obj = { foo: 'bar' }; describe('cjs written in esm', () => { it('should work', () => { expect(obj, 'to equal', { foo: 'bar' }); }); }); module.exports.foo = 'bar';