Skip to content

armgit / mocha

Public Imported from GitHub
0

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

251 B
Raw Blame
import {describe, it} from '../../../../index.js';

describe('test1', () => {
  it('test', async () => {
    const error = new Error('Oh no!');

    error.nested = {
      get inner() {
        return 'abc';
      }
    };

    throw error;
  });
});