function runTests(specFiles) {
  // tslint:disable-next-line:no-require-imports
  const jasmineConstructor = require('jasmine');

  Error.stackTraceLimit = Infinity;

  process.on('unhandledRejection', e => {
    throw e;
  });

  const runner = new jasmineConstructor();
  runner.loadConfig({spec_files: specFiles, random: false});
  runner.execute();
}
Execute all unit tests in the current directory.