npm karma-typescript 3.0.0
v3.0.0

latest releases: 5.5.4, 5.5.3, 5.5.2...
7 years ago

Changes

New features

  • Support for defining constants, #69 (thanks @kevindqc)
  • Case sensitive module validation, #71, #82 (thanks @sagiweis, @cyberhck, @pat154)
  • Support for angular2-webpack-starter, #72 (thanks @michaeljota)
  • Module aliases in the bundler, karmaTypescriptConfig.bundlerOptions.resolve.alias, #74 (thanks @Necroskillz)
  • Descriptive bundler validation error message, #74 (thanks @Bjeaurn, @jfeenstra)
  • Coverage thresholds, #80, (thanks @melxx001)
  • Option karmaTypescriptConfig.coverageOptions.exclude defaults to case insensitive
  • Option karmaTypescriptConfig.coverageOptions.exclude accepts either a RegExp object or an array of RegExp objects, #86 (thanks @sir-marc)
  • New Transforms API:
  • New option for filtering which files should be executed in a test run, karmaTypescriptConfig.bundlerOptions.entrypoints
  • Clarified documentation on automatic bundling, #96 (thanks @sgen)
  • Improved documentation on configuring for tests in separate folders, #102 (thanks @glennvorhes)

Bugfixes

Breaking changes

  • karmaTypescriptConfig.bundlerOptions.exclude now excludes modules completely, #89, #75 (thanks @paibamboo)
  • karmaTypescriptConfig.bundlerOptions.ignoredModuleNames has been replaced by karmaTypescriptConfig.bundlerOptions.exclude`
  • karmaTypescriptConfig.excludeFromCoverage has been replaced by karmaTypescriptConfig.coverageOptions.exclude
  • ´karmaTypescriptConfig.disableCodeCoverageInstrumentation´ has been replaced by ´karmaTypescriptConfig.coverageOptions.instrumentation´
  • If a path to a tsconfig.json file is specified in the karmaTypescriptConfig.tsconfig setting the directory of the tsconfig.json
    file will be used as base path for the compiler instead of the basePath property in the Karma config, #92 (thanks @vidartf)

Dogfooding

  • Sourcecode now in Typescript 🚀

Don't miss a new karma-typescript release

NewReleases is sending notifications on new releases.