Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidparsson/karma-typescript-amd

This is a minimal example showing the potentially broken compilation by karma-typescript-preprocessor.
https://github.com/davidparsson/karma-typescript-amd

Last synced: 16 days ago
JSON representation

This is a minimal example showing the potentially broken compilation by karma-typescript-preprocessor.

Awesome Lists containing this project

README

        

Minimal example
===============

This is a minimal example showing the potentially broken compilation by karma-typescript-preprocessor, when compiling using the Asynchronouse Module Definition (AMD).

Installing & Running
--------------------

Run like this:

npm install
grunt

Both karma tasks provide the same configuration to the TypeScript compiler.

- `karma:preCompiledTest` executes tests compiled by the `typescript` task and passes.
- `karma:test` uses the karma-typescript-preprocessor and fails.

Why is it so?