Skip to content

4.1.0

Choose a tag to compare

@jason0x43 jason0x43 released this 07 Nov 03:32
· 221 commits to master since this release

Overview

This release includes several new features and improvements, including support for TypeScript 2.6 in strict mode, along with a number of bug fixes.

As always, thanks to everyone who contributed issues, PRs, or suggestions!

New features

  • Individual suites or tests may be run in the HTML reporter by clicking their IDs (#802)
  • The grunt task now accepts a config argument that points to an external config file (#813)
  • Intern now uses the location of the config file as the base path (a.k.a project root). If a relative basePath value is provided in a config file, it is relative to the location of the config file. (#826)
  • Certain object properties can be merged in a config file using '+' in a similar fashion to resource arrays. For example, providing a config property of capabilities+='{"browserstack.debug":true}' will merge the given object with the existing value of config.capabilities. (#827)

Updates and bug fixes

  • Intern is now compatible with TypeScript 2.6 in strict mode.
  • Context is preserved in Deferred callback and rejectOnError callbacks (#810)
  • Istanbul reporter options are now passed to Istanbul (#815)
  • The console is accessed in a safer way (#818)
  • The Node executor's unhandled Promise rejection handler no longer assumes the rejection reason is non-null (#820)
  • Reporters are now initialized after plugins have loaded, improving support for custom reporters (#821)
  • The HTML reporter no longer reports tests that were skipped due to suite failures as passing. (#825)
  • The chai and dojo dependencies were updated (#830)
  • serverUrl, when not specified by the user, is now constructed using serverPort (#831)