function copyProps(src, target) {
  Object.defineProperties(target, {
    ...Object.getOwnPropertyDescriptors(src),
    ...Object.getOwnPropertyDescriptors(target),
  });
}
Setup.js: Initializes the test environment and its dependencies

This file is run once before the test suite is started.

It should only include setup code that is applicable to the entire suite.

For configuration options of mocha itself, see the mocha.opts file.